summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-26 19:15:40 +0900
committerMichele Calgaro <[email protected]>2023-11-26 19:39:41 +0900
commit7a00e005dd5806a1056488e3a1199bf382a42623 (patch)
tree2a199c58a9e2e1abd93dfb7f51e5005c28042f1d /CMakeLists.txt
parent138bb80efac020c7e78871d3f05127eb37f18274 (diff)
downloadtdelibs-7a00e005dd5806a1056488e3a1199bf382a42623.tar.gz
tdelibs-7a00e005dd5806a1056488e3a1199bf382a42623.zip
Fix FTBFS caused by detection of libr version after recent update
Signed-off-by: Michele Calgaro <[email protected]> Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7226a1359..e3fd6f294 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1195,9 +1195,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( )