diff --git a/Modules/FindPatch.cmake b/Modules/FindPatch.cmake index 41086517d9..f4fe4a6149 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} )