aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/common/CompilerSettings.cmake
diff options
context:
space:
mode:
authorChristian Fetzer <fetzer.ch@gmail.com>2019-09-16 19:55:40 +0200
committerwsnipex <wsnipex@a1.net>2019-09-16 19:55:40 +0200
commit59433d1975fe925b3a0951e275ab86070c3ba0d1 (patch)
tree27eb50090c57479b9a6520532a2a77ab2cc123fd /cmake/scripts/common/CompilerSettings.cmake
parentda149aa59fd870945d966194b2a37a7990e5eb96 (diff)
[cmake] Enable C++14 support for core
Also remove the FindCXX11.cmake module and make use of CMake techniques to specify the necessary compiler flags.
Diffstat (limited to 'cmake/scripts/common/CompilerSettings.cmake')
-rw-r--r--cmake/scripts/common/CompilerSettings.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/scripts/common/CompilerSettings.cmake b/cmake/scripts/common/CompilerSettings.cmake
index 136ebd2b29..b4e7e89220 100644
--- a/cmake/scripts/common/CompilerSettings.cmake
+++ b/cmake/scripts/common/CompilerSettings.cmake
@@ -1,6 +1,6 @@
# Languages and global compiler settings
-if(NOT DEFINED CMAKE_CXX_STANDARD OR CMAKE_CXX_STANDARD LESS 11)
- set(CMAKE_CXX_STANDARD 11)
+if(NOT DEFINED CMAKE_CXX_STANDARD OR CMAKE_CXX_STANDARD LESS 14)
+ set(CMAKE_CXX_STANDARD 14)
endif()
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)