aboutsummaryrefslogtreecommitdiff
path: root/cmake/macros/ConfigureBaseTargets.cmake
diff options
context:
space:
mode:
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)