diff options
| author | crueter <crueter@eden-emu.dev> | 2025-07-14 04:48:39 +0200 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2025-07-14 04:48:39 +0200 |
| commit | be59b4f15f3b59ccbf4b8ad0e40e8cb16de3bcc1 (patch) | |
| tree | afb53ca119d3db2b13701f77d5fc40a00242e090 | |
| parent | 2be7df287a65d9185dbfc2f3b68cf09775efd874 (diff) | |
[cmake] Patch QuaZip for windows fix (#60)
Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/60
| -rw-r--r-- | .ci/patch/0002-quazip-fetchcontent.patch | 13 | ||||
| -rw-r--r-- | src/yuzu/CMakeLists.txt | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/.ci/patch/0002-quazip-fetchcontent.patch b/.ci/patch/0002-quazip-fetchcontent.patch new file mode 100644 index 0000000000..3554b7dbb6 --- /dev/null +++ b/.ci/patch/0002-quazip-fetchcontent.patch @@ -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}) diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt index 88f25aa42e..cf96b6e876 100644 --- a/src/yuzu/CMakeLists.txt +++ b/src/yuzu/CMakeLists.txt @@ -505,6 +505,7 @@ CPMAddPackage( URI "gh:stachenov/quazip@1.5" PATCHES ${CMAKE_SOURCE_DIR}/.ci/patch/0001-quazip-strict.patch + ${CMAKE_SOURCE_DIR}/.ci/patch/0002-quazip-fetchcontent.patch ) if (NOT MSVC) |
