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 d2e87cd..aa1028d 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)