aboutsummaryrefslogtreecommitdiff
path: root/cmake/macros/ConfigureBaseTargets.cmake
diff options
context:
space:
mode:
authorNaios <naios-dev@live.de>2017-11-28 22:05:25 +0100
committerNaios <naios-dev@live.de>2017-12-17 20:22:34 +0100
commit92f96fc10e70b2d62cce832837477d958e2afbe3 (patch)
tree316d60a95c09afc4ec51bda9341ff49f6f92336d /cmake/macros/ConfigureBaseTargets.cmake
parente60c1f84a7e13577a82046b02b214f9466d20a7c (diff)
Build: Use the cotire library for precompiled header handling
* Required for handling flags inherited by linked projects correctly in the corresponding precompiled header. * Reduces the maintenance effort for precompiled headers
Diffstat (limited to 'cmake/macros/ConfigureBaseTargets.cmake')
-rw-r--r--cmake/macros/ConfigureBaseTargets.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/macros/ConfigureBaseTargets.cmake b/cmake/macros/ConfigureBaseTargets.cmake
index ca3773b8f01..1c85c512ad2 100644
--- a/cmake/macros/ConfigureBaseTargets.cmake
+++ b/cmake/macros/ConfigureBaseTargets.cmake
@@ -11,6 +11,9 @@
# An interface library to make the target com available to other targets
add_library(trinity-compile-option-interface INTERFACE)
+# Use -std=c++11 instead of -std=gnu++11
+set(CXX_EXTENSIONS OFF)
+
# An interface library to make the target features available to other targets
add_library(trinity-feature-interface INTERFACE)