W3cubDocs

/CMake 3.19

FindPatch

New in version 3.10.

The module defines the following variables:

Patch_EXECUTABLE

Path to patch command-line executable.

Patch_FOUND

True if the patch command-line executable was found.

The following IMPORTED targets are also defined:

Patch::patch

The command-line executable.

Example usage:

find_package(Patch)
if(Patch_FOUND)
  message("Patch found: ${Patch_EXECUTABLE}")
endif()

© 2000–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.19/module/FindPatch.html