summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
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 /CMakeLists.txt
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 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f516a6577..e9858a01b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,6 +13,10 @@ message("Binary Dir: ${CMAKE_CURRENT_BINARY_DIR}")
# -----------------------------------------------------------------------------
# CMake Configuration
# -----------------------------------------------------------------------------
+# Used in cmake 3.1+
+set(CMAKE_CXX_STANDARD 11)
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
+
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMakeScripts/Modules")
# avoid having empty buildtype