From: TimePath Date: Sat, 6 Jan 2018 01:36:16 +0000 (+1100) Subject: Disable CMAKE_CXX_EXTENSIONS X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0a6d5683b0cfa1a0bd7ef64bada105dbe4ddd6e1;p=xonotic%2Fnetradiant.git Disable CMAKE_CXX_EXTENSIONS --- 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)