mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-10 07:40:03 -06:00
FindPatch: Mark Patch_EXECUTABLE as advanced variable
This commit is contained in:
@@ -58,6 +58,8 @@ if(CMAKE_HOST_WIN32)
|
||||
)
|
||||
endif()
|
||||
|
||||
mark_as_advanced(Patch_EXECUTABLE)
|
||||
|
||||
if(Patch_EXECUTABLE AND NOT TARGET Patch::patch)
|
||||
add_executable(Patch::patch IMPORTED)
|
||||
set_property(TARGET Patch::patch PROPERTY IMPORTED_LOCATION ${Patch_EXECUTABLE})
|
||||
|
||||
Reference in New Issue
Block a user