Browse Source

Fix windows compilation

Signed-off-by: crueter <crueter@eden-emu.dev>
pull/52/head
crueter 8 months ago
parent
commit
8b73be490c
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 12
      src/yuzu/CMakeLists.txt

12
src/yuzu/CMakeLists.txt

@ -500,11 +500,13 @@ set(BUILD_SHARED_LIBS OFF)
include(CPM)
CPMAddPackage("gh:stachenov/quazip@1.5")
target_compile_options(QuaZip
PRIVATE
-Wno-error=shadow
-Wno-error=missing-declarations
)
if (NOT MSVC)
target_compile_options(QuaZip
PRIVATE
-Wno-error=shadow
-Wno-error=missing-declarations
)
endif()
target_link_libraries(yuzu PRIVATE QuaZip::QuaZip)

Loading…
Cancel
Save