Browse Source

allow packaging use system quazip-qt6

pull/233/head
Guo Yunhe 7 months ago
parent
commit
c1267bec3d
  1. 3
      CMakeLists.txt
  2. 5
      src/yuzu/CMakeLists.txt

3
CMakeLists.txt

@ -78,10 +78,13 @@ else()
option(YUZU_USE_EXTERNAL_VULKAN_SPIRV_TOOLS "Use SPIRV-Tools from externals" ON)
endif()
option(YUZU_USE_EXTERNAL_QUAZIP_QT6 "Use quazip-qt6 from externals" ON)
option(YUZU_USE_SYSTEM_OPUS "Use the system Opus library if available" ON)
option(YUZU_USE_SYSTEM_HTTPLIB "Use the system cpp-httplib if available" ON)
option(YUZU_USE_QT_MULTIMEDIA "Use QtMultimedia for Camera" OFF)
option(YUZU_USE_QT_WEB_ENGINE "Use QtWebEngine for web applet implementation" OFF)

5
src/yuzu/CMakeLists.txt

@ -493,7 +493,12 @@ if (YUZU_ROOM)
endif()
# Extra deps
if (YUZU_USE_EXTERNAL_QUAZIP_QT6)
add_subdirectory(externals)
else()
find_package(QuaZip)
endif()
target_link_libraries(yuzu PRIVATE QuaZip::QuaZip)
create_target_directory_groups(yuzu)
Loading…
Cancel
Save