]> git.jsancho.org Git - lugaru.git/blobdiff - CMakeLists.txt
CMake: Switch to --std=gnu++11 to fix builds with POWER
[lugaru.git] / CMakeLists.txt
index 4b9fb85b54b4cdd62a53272f808ead5b493568b5..ef94e17f7757eea7a9b8fcc3dc807b67a76fca5d 100644 (file)
@@ -23,7 +23,7 @@ if(NOT CMAKE_BUILD_TYPE)
 endif(NOT CMAKE_BUILD_TYPE)
 message("CMake build type: ${CMAKE_BUILD_TYPE}")
 
-set(CMAKE_CXX_FLAGS "-Wall -Wno-parentheses -pedantic --std=c++11 ${CMAKE_CXX_FLAGS}")
+set(CMAKE_CXX_FLAGS "-Wall -Wno-parentheses -pedantic --std=gnu++11 ${CMAKE_CXX_FLAGS}")
 
 if(APPLE)
     set(CMAKE_OSX_ARCHITECTURES "x86_64" CACHE STRING "Build architectures for OSX")