diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-12-04 22:55:15 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-12-04 22:55:15 (GMT) |
commit | f0d0d761b2150e41397af8cfce2b846107cf8921 (patch) | |
tree | 338e1eb9b207e712e76ef24a033e633fb7ad8e22 /Help | |
parent | 31452416ba1be692b55ed09f8cf39fa2914ad349 (diff) | |
download | CMake-f0d0d761b2150e41397af8cfce2b846107cf8921.zip CMake-f0d0d761b2150e41397af8cfce2b846107cf8921.tar.gz CMake-f0d0d761b2150e41397af8cfce2b846107cf8921.tar.bz2 |
Help: Remove recommendation about checking minimum CMake version.
If this file is being executed, the user has the CMake version
providing it.
Diffstat (limited to 'Help')
-rw-r--r-- | Help/manual/cmake-developer.7.rst | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Help/manual/cmake-developer.7.rst b/Help/manual/cmake-developer.7.rst index d928097..94fc019 100644 --- a/Help/manual/cmake-developer.7.rst +++ b/Help/manual/cmake-developer.7.rst @@ -943,16 +943,6 @@ licence notice block # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) -If the module is new to CMake, you may want to provide a warning for -projects that do not require a high enough CMake version. - -.. code-block:: cmake - - if(CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 3.0.0) - message(AUTHOR_WARNING - "Your project should require at least CMake 3.0.0 to use FindFoo.cmake") - endif() - Now the actual libraries and so on have to be found. The code here will obviously vary from module to module (dealing with that, after all, is the point of find modules), but there tends to be a common pattern for libraries. |