summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake')
-rw-r--r--tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake10
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( )