summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
authorDmitry Zhulanov <dmitry.zhulanov@gmail.com>2016-10-01 10:08:49 +0000
committerDmitry Zhulanov <dmitry.zhulanov@gmail.com>2016-10-01 10:08:49 +0000
commit017616c4fc99883323c2a0d6e44b88f7cd16ce2d (patch)
tree6a1ab72d73b5db369763a1baef6e341ba32e249c /CMakeScripts
parentfix indent (diff)
downloadinkscape-017616c4fc99883323c2a0d6e44b88f7cd16ce2d.tar.gz
inkscape-017616c4fc99883323c2a0d6e44b88f7cd16ce2d.zip
fix cmake warning and remove whole xverbs code from compilation without yaml
(bzr r15136.1.11)
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/DefineDependsandFlags.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake
index daf5afd90..ad2d51724 100644
--- a/CMakeScripts/DefineDependsandFlags.cmake
+++ b/CMakeScripts/DefineDependsandFlags.cmake
@@ -394,7 +394,7 @@ if(YAML_FOUND)
list(APPEND INKSCAPE_LIBS ${YAML_LIBRARIES})
add_definitions(-DWITH_YAML)
else(YAML_FOUND)
- unset(WITH_YAML OFF)
+ set(WITH_YAML OFF)
message(STATUS "Could not locate the yaml library headers: xverb feature will be disabled")
endif()