From 9fd3f57e045b448682ad6da34420bd5eb22a7438 Mon Sep 17 00:00:00 2001 From: Simon Wells Date: Tue, 9 Oct 2018 06:26:25 +1300 Subject: Add CMAKE_CXX_STANDARD for cmake 3.1 add note saying can remove -std=c++11 when minimum cmake is 3.1 --- CMakeScripts/DefineDependsandFlags.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeScripts') diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake index 897aafb57..53dd7fe94 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") -- cgit v1.2.3