aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorwsnipex <wsnipex@a1.net>2019-04-25 15:52:15 +0200
committerwsnipex <wsnipex@a1.net>2019-04-25 15:52:15 +0200
commit48d4dd4074b456d1a44e18dd75420b37aa1fadf9 (patch)
treede221c0fa5454bfa4ab9a471ab0067f24adb2ffc /CMakeLists.txt
parent1d7960db7fd55ec2bfaff318bdc4ddf4e9339769 (diff)
[cmake] make sure CXX11 is also always set for addons
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 67e10f71c6..bfd702f500 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,13 +35,9 @@ include(cmake/scripts/common/Macros.cmake)
include(cmake/scripts/common/ProjectMacros.cmake)
core_find_versions()
include(cmake/scripts/${CORE_SYSTEM_NAME}/PathSetup.cmake)
+include(cmake/scripts/common/CompilerSettings.cmake)
include(ExternalProject)
-# Languages and global compiler settings
-set(CMAKE_CXX_STANDARD 11)
-set(CMAKE_CXX_STANDARD_REQUIRED ON)
-set(CMAKE_CXX_EXTENSIONS OFF)
-set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} -x assembler-with-cpp")
# general
option(VERBOSE "Enable verbose output?" OFF)