diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2015-11-21 12:39:06 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2015-11-21 12:39:06 +0000 |
| commit | d4f332ed03e831ee781c1ba169bd7a35b2869989 (patch) | |
| tree | dabd1d16eb255159093d19aa50f5ae95744e7b9e /CMakeScripts | |
| parent | Hide unused verbs if Potrace is not available (diff) | |
| download | inkscape-d4f332ed03e831ee781c1ba169bd7a35b2869989.tar.gz inkscape-d4f332ed03e831ee781c1ba169bd7a35b2869989.zip | |
Add warning about missing Potrace to CMake build
(bzr r14449.1.8)
Diffstat (limited to 'CMakeScripts')
| -rw-r--r-- | CMakeScripts/DefineDependsandFlags.cmake | 3 |
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) |
