Browse Source

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 years ago
parent
commit
65dc8aa8b3
1 changed files with 3 additions and 1 deletions
  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>/<name>*/``                                                  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)/<name>*/``                          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
 ==================================================================== ==========
 
+.. [#] .. versionadded:: 3.25
+
 On systems supporting macOS :prop_tgt:`FRAMEWORK` and :prop_tgt:`BUNDLE`, the
 following directories are searched for Frameworks or Application Bundles
 containing a configuration file: