summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2018-10-08 20:15:26 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2018-10-08 20:15:26 +0000
commite715430eab1805a0d63f00e0378664f8dad6e799 (patch)
treef18d0e3805fc1c5fe2386b6b6cac9cd38a8924ff /CMakeScripts
parentFix bug in measure segments pointed by Maren in: https://chat.inkscape.org/ch... (diff)
parentAdd CMAKE_CXX_STANDARD for cmake 3.1 (diff)
downloadinkscape-e715430eab1805a0d63f00e0378664f8dad6e799.tar.gz
inkscape-e715430eab1805a0d63f00e0378664f8dad6e799.zip
Merge branch 'cmake-cxx11' of gitlab.com:xzcvczx/inkscape
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/DefineDependsandFlags.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake
index 9f0617472..801612c6b 100644
--- a/CMakeScripts/DefineDependsandFlags.cmake
+++ b/CMakeScripts/DefineDependsandFlags.cmake
@@ -14,6 +14,8 @@ list(APPEND INKSCAPE_INCS ${PROJECT_SOURCE_DIR}
# Add C++11 standard compliance
# TODO: Add a proper check for compiler compliance here
# ----------------------------------------------------------------------------
+# this can be removed when cmake minimum is 3.1
+# as replaced with CMAKE_CXX_STANDARD in main CMakeLists.txt
list(APPEND INKSCAPE_CXX_FLAGS "-std=c++11")