diff options
author | Slávek Banko <[email protected]> | 2017-12-26 17:03:04 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2017-12-26 17:03:14 +0100 |
commit | 9b9293b1cd83f25f69c1f75e03fcb103b43bb575 (patch) | |
tree | fb9e6162632afdd420d51740babc89b24dd7a592 /tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake | |
parent | ec9ef61440bbf98e86d39b0bb228c66f19377c6c (diff) | |
download | tdegraphics-9b9293b1cd83f25f69c1f75e03fcb103b43bb575.tar.gz tdegraphics-9b9293b1cd83f25f69c1f75e03fcb103b43bb575.zip |
Add support for Poppler >= 0.60
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 9dd187337acce50e168b06571dfa315c41a1b628)
Diffstat (limited to 'tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake')
-rw-r--r-- | tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake b/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake index 7714f5e3..725a19c6 100644 --- a/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake +++ b/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake @@ -24,3 +24,13 @@ check_cxx_source_compiles(" HAVE_POPPLER_030 ) tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES ) +if( NOT DEFINED HAVE_POPPLER_060 ) + message( STATUS "Performing Test HAVE_POPPLER_060" ) + if( POPPLER_VERSION VERSION_GREATER_EQUAL "0.60" ) + set( HAVE_POPPLER_060 1 CACHE INTERNAL "" FORCE ) + message( STATUS "Performing Test HAVE_POPPLER_060 - Success" ) + else( ) + set( HAVE_POPPLER_060 "" CACHE INTERNAL "" FORCE ) + message( STATUS "Performing Test HAVE_POPPLER_060 - Failed" ) + endif( ) +endif( ) |