diff options
author | Christophe Giboudeaux <christophe@krop.fr> | 2021-05-17 11:44:44 +0200 |
---|---|---|
committer | Christophe Giboudeaux <christophe@krop.fr> | 2021-05-25 08:07:34 +0000 |
commit | c6e575539a4c0f370df65d15001e7f1b942b7e91 (patch) | |
tree | 5a472c6d8ff4b74b0ff7c74caa742fb00c80d03d /find-modules | |
parent | 1312c40ca85e2e5bab6781897b4224cfd04f805a (diff) | |
download | extra-cmake-modules-c6e575539a4c0f370df65d15001e7f1b942b7e91.tar.gz extra-cmake-modules-c6e575539a4c0f370df65d15001e7f1b942b7e91.tar.bz2 |
Clean ECM files after the minimum version change
- Remove deprecated version checks
- Use VERSION_GREATER_EQUAL
Diffstat (limited to 'find-modules')
-rw-r--r-- | find-modules/FindKF5.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/find-modules/FindKF5.cmake b/find-modules/FindKF5.cmake index 42c55bab..ed7215c8 100644 --- a/find-modules/FindKF5.cmake +++ b/find-modules/FindKF5.cmake @@ -55,7 +55,7 @@ foreach(_module ${KF5_FIND_COMPONENTS}) ) # CMake >= 3.17 wants to be explicitly told we are fine with name mismatch here set(_name_mismatched_arg) - if(NOT CMAKE_VERSION VERSION_LESS 3.17) + if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.17) set(_name_mismatched_arg NAME_MISMATCHED) endif() find_package_handle_standard_args(KF5${_module} CONFIG_MODE ${_name_mismatched_arg}) |