mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-10-01 14:59:13 +00:00
[cmake] Patch QuaZip for windows fix (#60)
Signed-off-by: crueter <[email protected]> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/60
This commit is contained in:
2 files changed
+14
No files matched your search
@@ -0,0 +1,13 @@
|
||||
diff --git a/cmake/clone-repo.cmake b/cmake/clone-repo.cmake
|
||||
index 2ffb4b2..77974dc 100644
|
||||
--- a/cmake/clone-repo.cmake
|
||||
+++ b/cmake/clone-repo.cmake
|
||||
@@ -26,7 +26,7 @@ macro(clone_repo name url)
|
||||
FetchContent_GetProperties(${name} POPULATED ${name_lower}_POPULATED)
|
||||
|
||||
if(NOT ${name_lower}_POPULATED)
|
||||
- FetchContent_Populate(${name})
|
||||
+ FetchContent_MakeAvailable(${name})
|
||||
endif()
|
||||
|
||||
set(${name_upper}_SOURCE_DIR ${${name_lower}_SOURCE_DIR})
|
||||
@@ -505,6 +505,7 @@ CPMAddPackage(
|
||||
URI "gh:stachenov/[email protected]"
|
||||
PATCHES
|
||||
${CMAKE_SOURCE_DIR}/.ci/patch/0001-quazip-strict.patch
|
||||
${CMAKE_SOURCE_DIR}/.ci/patch/0002-quazip-fetchcontent.patch
|
||||
)
|
||||
|
||||
if (NOT MSVC)
|
||||
|
||||
Reference in new issue
Block a user