From 21bfa52b5793302498a9783971b11c5c56852200 Mon Sep 17 00:00:00 2001 From: Vilius Sutkus '89 <812793+ViliusSutkus89@users.noreply.github.com> Date: Sun, 2 Feb 2020 20:07:34 +0200 Subject: [PATCH] Set min poppler version to 0.70.0 --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d99c53b..d8c3dd3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})