Commit 27a155df authored by Rolf Eike Beer's avatar Rolf Eike Beer

CMake: fix version comparison

parent 17424035
...@@ -39,7 +39,7 @@ include(KDECMakeSettings) ...@@ -39,7 +39,7 @@ include(KDECMakeSettings)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(FeatureSummary) include(FeatureSummary)
if (${KF5Config_VERSION} STRGREATER "5.56.0") if (KF5Config_VERSION VERSION_GREATER "5.56.0")
add_definitions(-DQT_NO_FOREACH) add_definitions(-DQT_NO_FOREACH)
MESSAGE(STATUS "compile without foreach") MESSAGE(STATUS "compile without foreach")
endif() endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment