summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/DefineDependsandFlags.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake
index 3f1d06e4c..f4992de5d 100644
--- a/CMakeScripts/DefineDependsandFlags.cmake
+++ b/CMakeScripts/DefineDependsandFlags.cmake
@@ -203,6 +203,9 @@ if(POTRACE_FOUND)
list(APPEND INKSCAPE_LIBS ${POTRACE_LIBRARIES})
set(HAVE_POTRACE ON)
add_definitions(-DHAVE_POTRACE)
+else(POTRACE_FOUND)
+ set(HAVE_POTRACE OFF)
+ message(STATUS "Could not locate the Potrace library headers: the Trace Bitmap and Paintbucket tools will be disabled")
endif()
if(WITH_DBUS)