summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-12-26 19:05:23 +0100
committerSlávek Banko <slavek.banko@axis.cz>2017-12-26 19:05:31 +0100
commitda97023dcc5d46f7f1330dfa709964c6251329e8 (patch)
tree25a7c00da574cbfbfe351c8a9432e6cf0439e250
parent9b9293b1cd83f25f69c1f75e03fcb103b43bb575 (diff)
downloadtdegraphics-da97023dcc5d46f7f1330dfa709964c6251329e8.tar.gz
tdegraphics-da97023dcc5d46f7f1330dfa709964c6251329e8.zip
Fix FTBFS with CMake < 3.0
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit b73c1141318bcf0c3bd2f06cfabc0d82dd534d9c)
-rw-r--r--tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake b/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
index 725a19c6..de1426a0 100644
--- a/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
+++ b/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
@@ -26,7 +26,7 @@ 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" )
+ if( NOT POPPLER_VERSION VERSION_LESS "0.60" )
set( HAVE_POPPLER_060 1 CACHE INTERNAL "" FORCE )
message( STATUS "Performing Test HAVE_POPPLER_060 - Success" )
else( )