FindPatch

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.18/module/FindPatch.html