From ef9e67947cb7202f4085ad57553cd1bb46b67045 Mon Sep 17 00:00:00 2001 From: PabloBotas Date: Fri, 20 Apr 2018 11:41:32 -0400 Subject: [PATCH] Do not define compiler explicitly This causes problems when compiling with versions outside of the system default here defined --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3cbcc13..ca82ec8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,8 +13,6 @@ message ( STATUS "CMAKE_INSTALL_PREFIX: " ${CMAKE_INSTALL_PREFIX} ) message ( STATUS "OUTPUT_DIRECTORY: " ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} ) #-C++ compiler------------------------------------------------------- -set (CMAKE_C_COMPILER "/usr/bin/gcc") -set (CMAKE_CXX_COMPILER "/usr/bin/g++") set (CMAKE_CXX_STANDARD 11) set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-variadic-macros")