diff --git a/Modules/FindPatch.cmake b/Modules/FindPatch.cmake index 41086517d9dc40fbbb1e5d04439ec09de8862c97..f4fe4a6149ba9ae5a6cae3f1d5c7cb6e40dc8975 100644 --- a/Modules/FindPatch.cmake +++ b/Modules/FindPatch.cmake @@ -43,7 +43,7 @@ endif() # First search the PATH find_program(Patch_EXECUTABLE - NAME patch + NAMES patch PATHS ${_patch_path} DOC ${_doc} )