]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
Disable CMAKE_CXX_EXTENSIONS
authorTimePath <andrew.hardaker1995@gmail.com>
Sat, 6 Jan 2018 01:36:16 +0000 (12:36 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Sat, 6 Jan 2018 01:36:16 +0000 (12:36 +1100)
CMakeLists.txt

index d2e87cd5858835c94574cf9d14ca3314a4772309..aa1028d64d869b1efb61341377dbf72a37e96cd9 100644 (file)
@@ -44,6 +44,7 @@ message(STATUS "Building ${PROJECT_NAME} ${RADIANT_VERSION_STRING} ${RADIANT_ABO
 
 set(CMAKE_CXX_STANDARD 11)
 set(CMAKE_CXX_STANDARD_REQUIRED ON)
+set(CMAKE_CXX_EXTENSIONS OFF)
 if (CMAKE_VERSION VERSION_LESS "3.1")
     if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR CMAKE_COMPILER_IS_GNUCXX)
         include(CheckCXXCompilerFlag)