From 1b6cfc41025db2cb108b800d3404738d9a0b74bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 8 Sep 2018 14:26:50 +0200 Subject: Add support for Poppler >= 0.64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit a0163f4c268fb162aac6510e762716bf780d6c11) --- .../dependencies/poppler-tqt/ConfigureChecks.cmake | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake') diff --git a/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake b/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake index 6fa57f6d..2d2e5136 100644 --- a/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake +++ b/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake @@ -34,3 +34,14 @@ if( NOT DEFINED HAVE_POPPLER_058 ) message( STATUS "Performing Test HAVE_POPPLER_058 - Failed" ) endif( ) endif( ) + +if( NOT DEFINED HAVE_POPPLER_064 ) + message( STATUS "Performing Test HAVE_POPPLER_064" ) + if( NOT POPPLER_VERSION VERSION_LESS "0.64" ) + set( HAVE_POPPLER_064 1 CACHE INTERNAL "" FORCE ) + message( STATUS "Performing Test HAVE_POPPLER_064 - Success" ) + else( ) + set( HAVE_POPPLER_064 "" CACHE INTERNAL "" FORCE ) + message( STATUS "Performing Test HAVE_POPPLER_064 - Failed" ) + endif( ) +endif( ) -- cgit v1.2.3