Browse Source
Fix windows compilation
Signed-off-by: crueter <crueter@eden-emu.dev>
pull/52/head
crueter
8 months ago
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
1 changed files with
7 additions and
5 deletions
-
src/yuzu/CMakeLists.txt
|
|
@ -500,11 +500,13 @@ set(BUILD_SHARED_LIBS OFF) |
|
|
include(CPM) |
|
|
include(CPM) |
|
|
CPMAddPackage("gh:stachenov/quazip@1.5") |
|
|
CPMAddPackage("gh:stachenov/quazip@1.5") |
|
|
|
|
|
|
|
|
target_compile_options(QuaZip |
|
|
|
|
|
|
|
|
if (NOT MSVC) |
|
|
|
|
|
target_compile_options(QuaZip |
|
|
PRIVATE |
|
|
PRIVATE |
|
|
-Wno-error=shadow |
|
|
-Wno-error=shadow |
|
|
-Wno-error=missing-declarations |
|
|
-Wno-error=missing-declarations |
|
|
) |
|
|
|
|
|
|
|
|
) |
|
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
target_link_libraries(yuzu PRIVATE QuaZip::QuaZip) |
|
|
target_link_libraries(yuzu PRIVATE QuaZip::QuaZip) |
|
|
|
|
|
|
|
|
|