290 # current trunk uses the C++ "override" keyword, which requires C++11
291 if (CMAKE_VERSION VERSION_LESS "3.1")
292 if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
293 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
294 endif ()
295 else ()
296 set (CMAKE_CXX_STANDARD 11)
297 endif ()
298
299 # Set compiler and linker flags common to all build environments
300 # current trunk uses the C++ "override" keyword, which requires C++11
301 if (CMAKE_VERSION VERSION_LESS "3.1")
302 if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
303 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
304 endif ()
305 else ()
306 set (CMAKE_CXX_STANDARD 11)
307 endif ()
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel