diff options
author | Slávek Banko <[email protected]> | 2018-09-08 14:26:50 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-09-08 14:26:50 +0200 |
commit | a0163f4c268fb162aac6510e762716bf780d6c11 (patch) | |
tree | bf4118f46177bedcae9897d908ce85e0b13a7300 /tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake | |
parent | 594387b4f345169662031732f2c9495d297be17d (diff) | |
download | tdegraphics-a0163f4c268fb162aac6510e762716bf780d6c11.tar.gz tdegraphics-a0163f4c268fb162aac6510e762716bf780d6c11.zip |
Add support for Poppler >= 0.64
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake')
-rw-r--r-- | tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
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( ) |