瀏覽代碼

Help: Mention CMake version for a recently-added `find_package` search path

Add a `versionadded` mark for the search path added by commit e55c154c5b
(cmFindPackageCommand: Add one more search path, 2022-06-27,
v3.25.0-rc1~339^2~1).

Fixes: #24067
Alex Turbov 3 年之前
父節點
當前提交
65dc8aa8b3
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      Help/command/find_package.rst

+ 3 - 1
Help/command/find_package.rst

@@ -294,7 +294,7 @@ Each entry is meant for installation trees following Windows (``W``), UNIX
  ``<prefix>/(cmake|CMake)/``                                            W
  ``<prefix>/(cmake|CMake)/``                                            W
  ``<prefix>/<name>*/``                                                  W
  ``<prefix>/<name>*/``                                                  W
  ``<prefix>/<name>*/(cmake|CMake)/``                                    W
  ``<prefix>/<name>*/(cmake|CMake)/``                                    W
- ``<prefix>/<name>*/(cmake|CMake)/<name>*/``                            W
+ ``<prefix>/<name>*/(cmake|CMake)/<name>*/`` [#]_                       W
  ``<prefix>/(lib/<arch>|lib*|share)/cmake/<name>*/``                    U
  ``<prefix>/(lib/<arch>|lib*|share)/cmake/<name>*/``                    U
  ``<prefix>/(lib/<arch>|lib*|share)/<name>*/``                          U
  ``<prefix>/(lib/<arch>|lib*|share)/<name>*/``                          U
  ``<prefix>/(lib/<arch>|lib*|share)/<name>*/(cmake|CMake)/``            U
  ``<prefix>/(lib/<arch>|lib*|share)/<name>*/(cmake|CMake)/``            U
@@ -303,6 +303,8 @@ Each entry is meant for installation trees following Windows (``W``), UNIX
  ``<prefix>/<name>*/(lib/<arch>|lib*|share)/<name>*/(cmake|CMake)/``    W/U
  ``<prefix>/<name>*/(lib/<arch>|lib*|share)/<name>*/(cmake|CMake)/``    W/U
 ==================================================================== ==========
 ==================================================================== ==========
 
 
+.. [#] .. versionadded:: 3.25
+
 On systems supporting macOS :prop_tgt:`FRAMEWORK` and :prop_tgt:`BUNDLE`, the
 On systems supporting macOS :prop_tgt:`FRAMEWORK` and :prop_tgt:`BUNDLE`, the
 following directories are searched for Frameworks or Application Bundles
 following directories are searched for Frameworks or Application Bundles
 containing a configuration file:
 containing a configuration file: