diff --git a/CMakeLists.txt b/CMakeLists.txt index f22bba1fb..b5eb12535 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -129,7 +129,7 @@ IF(CMAKE_COMPILER_IS_GNUCXX OR MINGW) # GCC specific Compiler Options ELSE() - ADD_DEFINITIONS("-std=gnu++11 -frounding-math -fsignaling-nans") + ADD_DEFINITIONS("-frounding-math -fsignaling-nans") # IF(NOT MINGW) # set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -rdynamic") diff --git a/source/glest_game/CMakeLists.txt b/source/glest_game/CMakeLists.txt index baa40b1d4..b4b2d343b 100644 --- a/source/glest_game/CMakeLists.txt +++ b/source/glest_game/CMakeLists.txt @@ -8,7 +8,7 @@ SET(TARGET_NAME_MANPAGE "${TARGET_NAME}.6") IF(BUILD_ZETAGLEST) MESSAGE(STATUS "Will try to build ZetaGlest game") - SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=gnu++11") IF(WIN32) SET(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH}