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-20 04:04:27 +0100
commit964d6bd1b21f95da40194cca860c7a9ac9f81973 (patch)
tree5cdee3df58f7f41612e65ff1e6196e4068758f64 /cmake/macros/ConfigureBaseTargets.cmake
parentff35262a3ac804db7a941f29040e4b299a7cb7c4 (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 (cherry picked from commit 92f96fc10e70b2d62cce832837477d958e2afbe3)
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)