summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/DefineDependsandFlags.cmake
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2015-11-09 00:03:27 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2015-11-09 00:03:27 +0000
commit6484d2580d5facccf1b4bd7719c5d26fb8d07602 (patch)
treeeeed81ef6bfeabf01df264335e5f2bf3ce706762 /CMakeScripts/DefineDependsandFlags.cmake
parentUpdate Potrace bitmap macros to upstream 1.13 (diff)
downloadinkscape-6484d2580d5facccf1b4bd7719c5d26fb8d07602.tar.gz
inkscape-6484d2580d5facccf1b4bd7719c5d26fb8d07602.zip
Add CMake check for Potrace from OSP: http://goo.gl/AEzbkQ
Fixed bugs: - https://launchpad.net/bugs/1156664 (bzr r14449.1.3)
Diffstat (limited to 'CMakeScripts/DefineDependsandFlags.cmake')
-rw-r--r--CMakeScripts/DefineDependsandFlags.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake
index 63e4315b8..e0857f265 100644
--- a/CMakeScripts/DefineDependsandFlags.cmake
+++ b/CMakeScripts/DefineDependsandFlags.cmake
@@ -197,6 +197,10 @@ list(APPEND INKSCAPE_INCS_SYS ${POPT_INCLUDE_DIR})
list(APPEND INKSCAPE_LIBS ${POPT_LIBRARIES})
add_definitions(${POPT_DEFINITIONS})
+find_package(Potrace REQUIRED)
+list(APPEND INKSCAPE_INCS_SYS ${POTRACE_INCLUDE_DIR})
+list(APPEND INKSCAPE_LIBS ${POTRACE_LIBRARIES})
+
if(WITH_DBUS)
find_package(DBus REQUIRED)
if(DBUS_FOUND)