Skip to content

Commit

Permalink
Do not define compiler explicitly
Browse files Browse the repository at this point in the history
This causes problems when compiling with versions outside of the system default here defined
  • Loading branch information
PabloBotas committed Apr 20, 2018
1 parent 035f56f commit ef9e679
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit ef9e679

Please sign in to comment.