浏览代码

Help: Remove recommendation about checking minimum CMake version.

If this file is being executed, the user has the CMake version
providing it.
Stephen Kelly 11 年之前
父节点
当前提交
f0d0d761b2
共有 1 个文件被更改,包括 0 次插入10 次删除
  1. 0 10
      Help/manual/cmake-developer.7.rst

+ 0 - 10
Help/manual/cmake-developer.7.rst

@@ -943,16 +943,6 @@ licence notice block
   # (To distribute this file outside of CMake, substitute the full
   # (To distribute this file outside of CMake, substitute the full
   #  License text for the above reference.)
   #  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
 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
 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.
 point of find modules), but there tends to be a common pattern for libraries.