Unbreak build with cmake < 3.7 (VERSION_GREATER_EQUAL only avail >= 3.7)

parent 63a9a87c
...@@ -48,7 +48,7 @@ find_package(KF5 ${KF5_REQUIRED_VERSION} ...@@ -48,7 +48,7 @@ find_package(KF5 ${KF5_REQUIRED_VERSION}
) )
# Qt 5.13 deprecated QComboBox::currentIndexChanged(QString) and Qt 5.14 undid that... # Qt 5.13 deprecated QComboBox::currentIndexChanged(QString) and Qt 5.14 undid that...
if (Qt5Widgets_VERSION VERSION_GREATER_EQUAL 5.14.0) if (NOT Qt5Widgets_VERSION VERSION_LESS 5.14.0)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00)
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