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 /docs | |
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 'docs')
-rw-r--r-- | docs/manual/ecm-developer.7.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/manual/ecm-developer.7.rst b/docs/manual/ecm-developer.7.rst index b12cc83d..0d3108c2 100644 --- a/docs/manual/ecm-developer.7.rst +++ b/docs/manual/ecm-developer.7.rst @@ -132,11 +132,11 @@ used is not high enough. This can be done with: .. code-block:: cmake - if(CMAKE_VERSION VERSION_LESS 2.8.12) - message(FATAL_ERROR "CMake 2.8.12 is required by FindFoo.cmake") + if(CMAKE_VERSION VERSION_LESS 3.16.0) + message(FATAL_ERROR "CMake 3.16.0 is required by FindFoo.cmake") endif() - if(CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 2.8.12) - message(AUTHOR_WARNING "Your project should require at least CMake 2.8.12 to use FindFoo.cmake") + if(CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 3.16.0) + message(AUTHOR_WARNING "Your project should require at least CMake 3.16.0 to use FindFoo.cmake") endif() The :module:`ECMFindModuleHelpers` module has several useful functions and |