crueter
5 months ago
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
2 changed files with
14 additions and
0 deletions
-
.ci/patch/0002-quazip-fetchcontent.patch
-
src/yuzu/CMakeLists.txt
|
|
@ -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/quazip@1.5" |
|
|
URI "gh:stachenov/quazip@1.5" |
|
|
PATCHES |
|
|
PATCHES |
|
|
${CMAKE_SOURCE_DIR}/.ci/patch/0001-quazip-strict.patch |
|
|
${CMAKE_SOURCE_DIR}/.ci/patch/0001-quazip-strict.patch |
|
|
|
|
|
${CMAKE_SOURCE_DIR}/.ci/patch/0002-quazip-fetchcontent.patch |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
if (NOT MSVC) |
|
|
if (NOT MSVC) |
|
|
|