Fix FTBFS caused by detection of libr version after recent update

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit b6f9aaf3c3)
pull/478/head
Michele Calgaro 11 months ago
parent df3439920c
commit a301718003
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -486,9 +486,9 @@ if( WITH_ELFICON )
if( NOT LIBR_FOUND ) if( NOT LIBR_FOUND )
message(FATAL_ERROR "\nelficon support was requested, but libr was not found on your system" ) message(FATAL_ERROR "\nelficon support was requested, but libr was not found on your system" )
endif( NOT LIBR_FOUND ) endif( NOT LIBR_FOUND )
if( NOT "${LIBR_VERSION}" STREQUAL "0.6.0" ) if( "${LIBR_VERSION}" VERSION_LESS "0.6" )
message(FATAL_ERROR "\nelficon support was requested, but the libr version on your system may not be compatible with TDE" ) message(FATAL_ERROR "\nelficon support was requested, but the libr version on your system may not be compatible with TDE" )
endif( NOT "${LIBR_VERSION}" STREQUAL "0.6.0" ) endif( "${LIBR_VERSION}" VERSION_LESS "0.6" )
set( HAVE_ELFICON 1 ) set( HAVE_ELFICON 1 )
endif( ) endif( )

Loading…
Cancel
Save