Fix FTBFS with CMake < 3.0

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 7 years ago
parent 9dd187337a
commit b73c114131

@ -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( )

Loading…
Cancel
Save