summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 20:20:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 20:36:09 +0900
commita301718003b6fa2b45df61b601242ff3dbb35f61 (patch)
tree140b96ce0ba5119947ad08f8b28deb99b6618dc3
parentdf3439920c8464295b6f15128e2b62bc1eed8f43 (diff)
downloadtdebase-a301718003b6fa2b45df61b601242ff3dbb35f61.tar.gz
tdebase-a301718003b6fa2b45df61b601242ff3dbb35f61.zip
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 b6f9aaf3c380569e7608e13863dfd2693f21ed04)
-rw-r--r--ConfigureChecks.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 9209fd2fc..2a470eeb8 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -486,9 +486,9 @@ if( WITH_ELFICON )
if( NOT LIBR_FOUND )
message(FATAL_ERROR "\nelficon support was requested, but libr was not found on your system" )
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" )
- endif( NOT "${LIBR_VERSION}" STREQUAL "0.6.0" )
+ endif( "${LIBR_VERSION}" VERSION_LESS "0.6" )
set( HAVE_ELFICON 1 )
endif( )