summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/DefineDependsandFlags.cmake
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2016-08-04 17:17:28 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2016-08-04 17:17:28 +0000
commitadf43740cc2fb739be3b4fc10a11c47d99bb3c57 (patch)
treeb71abd1c5f74a8fa3759a474c1d1c012a2cd5420 /CMakeScripts/DefineDependsandFlags.cmake
parentEnd GTK+ 2 support and remove GDL fork (diff)
downloadinkscape-adf43740cc2fb739be3b4fc10a11c47d99bb3c57.tar.gz
inkscape-adf43740cc2fb739be3b4fc10a11c47d99bb3c57.zip
Require C++11
(bzr r15039)
Diffstat (limited to 'CMakeScripts/DefineDependsandFlags.cmake')
-rw-r--r--CMakeScripts/DefineDependsandFlags.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake
index b56343eda..186daf33f 100644
--- a/CMakeScripts/DefineDependsandFlags.cmake
+++ b/CMakeScripts/DefineDependsandFlags.cmake
@@ -12,6 +12,12 @@ list(APPEND INKSCAPE_INCS ${PROJECT_SOURCE_DIR}
)
# ----------------------------------------------------------------------------
+# Add C++11 standard compliance
+# TODO: Add a proper check for compiler compliance here
+# ----------------------------------------------------------------------------
+list(APPEND INKSCAPE_CXX_FLAGS "-std=c++11")
+
+# ----------------------------------------------------------------------------
# Files we include
# ----------------------------------------------------------------------------
if(WIN32)