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:04 +0100 |
commit | 9dd187337acce50e168b06571dfa315c41a1b628 (patch) | |
tree | 66579cd45677b358783fd23129c12262c851d2f2 /tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake | |
parent | e199b0f7781e38b97eb6bb5d5bfa147f520da77c (diff) | |
download | tdegraphics-9dd187337acce50e168b06571dfa315c41a1b628.tar.gz tdegraphics-9dd187337acce50e168b06571dfa315c41a1b628.zip |
Add support for Poppler >= 0.60
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 | 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( ) |