From 0a6d5683b0cfa1a0bd7ef64bada105dbe4ddd6e1 Mon Sep 17 00:00:00 2001 From: TimePath Date: Sat, 6 Jan 2018 12:36:16 +1100 Subject: [PATCH] Disable CMAKE_CXX_EXTENSIONS --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d2e87cd5..aa1028d6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) -- 2.39.2