1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00

Set min poppler version to 0.70.0

This commit is contained in:
Vilius Sutkus '89 2020-02-02 20:07:34 +02:00 committed by GitHub
parent 882ed18fff
commit 21bfa52b57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,8 @@ add_custom_target(dist
find_package(PkgConfig)
# Compilation errors with poppler versions newer than 0.81.0
pkg_check_modules(POPPLER REQUIRED poppler>=0.25.0 poppler<0.82.0)
# Compiling against pre 0.70.0 not possible either
pkg_check_modules(POPPLER REQUIRED poppler>=0.70.0 poppler<0.82.0)
include_directories(${POPPLER_INCLUDE_DIRS})
link_directories(${POPPLER_LIBRARY_DIRS})
set(PDF2HTMLEX_LIBS ${PDF2HTMLEX_LIBS} ${POPPLER_LIBRARIES})