Commit Graph

10 Commits

Author SHA1 Message Date
Peter Kokot
a01b092e19 FindPatch: Update documentation
- Extended the examples section.
- Module documentation synced with other find modules a bit.
- Patch_FOUND variable used. The PATCH_FOUND is also set by the
  find_package_handle_standard_args().
2025-04-06 23:04:04 +02:00
Kitware Robot
1772622772 LICENSE: Replace references to Copyright.txt with LICENSE.rst
```
git grep -lz 'Copyright.txt or https://cmake.org/licensing ' |
  while IFS= read -r -d $'\0' f ; do
    sed -i '/Copyright.txt or https:\/\/cmake.org\/licensing / {
              s/Copyright.txt/LICENSE.rst/
            }' "$f" ; done
```
2025-03-03 10:43:35 -05:00
Brad King
7afa58b15d Modules/Find*: Include FindPackageHandleStandardArgs normally
Since commit d74210a8bd (CMP0017: Remove support for OLD behavior,
2024-11-17) we can rely on CMP0017's NEW behavior unconditionally.
Calling `include(FindPackageHandleStandardArgs)` in a builtin module
will always get the builtin `FindPackageHandleStandardArgs`.
2025-01-30 08:53:12 -05:00
Brad King
bd176b430c Renumber post-3.31 development from 3.32 to 4.0
Issue: #26613
2025-01-16 09:18:21 -05:00
Peter Kokot
04c5492cb0 FindPatch: Define imported target only for PROJECT CMAKE_ROLE
This enables finding the patch command when using CMake in script modes.
2025-01-14 10:17:09 -05:00
Peter Kokot
e39f0bcf34 FindPatch: Mark Patch_EXECUTABLE as advanced variable 2025-01-11 19:31:04 +01:00
Ferenc Gerlits
39a18aad07 FindPatch: Fix typo in find_program call
There is no `NAME` option.  It should be `NAMES`.  The call worked
with `NAME` only due to old `find_program` signature compatibility.

After this, the `find_program` call works even with PATHS removed
(on non-Windows systems where this PATHS is not needed).
2021-07-21 10:50:05 -04:00
Kitware Robot
496ec6036f Help: Add Sphinx 'versionadded' directives to each top-level document
Run the `Utilities/Sphinx/update_versions.py` script to add initial
markup to every top-level document and find module.

Issue: #19715
2020-07-06 10:23:20 -04:00
Kitware Robot
df4ed1e9ff Help: Convert remaining modules to block-style comments 2018-10-22 11:09:34 -04:00
Jean-Christophe Fillion-Robin
2645cb6208 FindPatch: Add module to find 'patch' command-line tool 2017-09-01 11:46:28 -04:00