summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2017-09-06 13:05:31 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-09-07 17:07:58 +0000
commit9418824967eb4c53371ef8588243fed4cab496e0 (patch)
tree87a58d91f365f4e70ec7ae2c2523c633e7472d15 /CMakeScripts
parentFix infinite loop when rendering text inside a shape under very special condi... (diff)
downloadinkscape-9418824967eb4c53371ef8588243fed4cab496e0.tar.gz
inkscape-9418824967eb4c53371ef8588243fed4cab496e0.zip
adapt to poppler 0.58
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/DefineDependsandFlags.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake
index 46fbe7568..48979c67e 100644
--- a/CMakeScripts/DefineDependsandFlags.cmake
+++ b/CMakeScripts/DefineDependsandFlags.cmake
@@ -131,6 +131,10 @@ if(ENABLE_POPPLER)
POPPLER_VERSION VERSION_EQUAL "0.29.0")
set(POPPLER_EVEN_NEWER_NEW_COLOR_SPACE_API ON)
endif()
+ if(POPPLER_VERSION VERSION_GREATER "0.58.0" OR
+ POPPLER_VERSION VERSION_EQUAL "0.58.0")
+ set(POPPLER_NEW_OBJECT_API ON)
+ endif()
else()
set(ENABLE_POPPLER_CAIRO OFF)
endif()