diff options
author | fuzzard <fuzzard@kodi.tv> | 2022-05-23 07:54:40 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2022-05-24 09:26:52 +1000 |
commit | 5e52c0849de60e27948e5f6e012d30e48d67c72a (patch) | |
tree | ed8ae44c08f0213fb3961b6abefa23ffed4006a1 /cmake/scripts/common | |
parent | a80c417ea9f411228817fec9e5c46856e83d1520 (diff) |
[cmake] Flesh out FindPatch module for windows use
Windows we want to preference git patch, so adapt find module to check specifically
for it. Update other find modules importing FindPatch.cmake to actual find_package calls
Diffstat (limited to 'cmake/scripts/common')
-rw-r--r-- | cmake/scripts/common/ModuleHelpers.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/scripts/common/ModuleHelpers.cmake b/cmake/scripts/common/ModuleHelpers.cmake index a31286c0bb..6eacdcc84b 100644 --- a/cmake/scripts/common/ModuleHelpers.cmake +++ b/cmake/scripts/common/ModuleHelpers.cmake @@ -217,7 +217,7 @@ endmacro() # Macro to test format of line endings of a patch # Windows Specific macro(PATCH_LF_CHECK patch) - if(WIN32 OR WINDOWS_STORE) + if(CMAKE_HOST_WIN32) # On Windows "patch.exe" can only handle CR-LF line-endings. # Our patches have LF-only line endings - except when they # have been checked out as part of a dependency hosted on Git |