allow packaging use system quazip-qt6
This commit is contained in:
parent
6b8408ef50
commit
c1267bec3d
2 changed files with 9 additions and 1 deletions
|
@ -78,10 +78,13 @@ else()
|
||||||
option(YUZU_USE_EXTERNAL_VULKAN_SPIRV_TOOLS "Use SPIRV-Tools from externals" ON)
|
option(YUZU_USE_EXTERNAL_VULKAN_SPIRV_TOOLS "Use SPIRV-Tools from externals" ON)
|
||||||
endif()
|
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_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_SYSTEM_HTTPLIB "Use the system cpp-httplib if available" ON)
|
||||||
|
|
||||||
|
|
||||||
option(YUZU_USE_QT_MULTIMEDIA "Use QtMultimedia for Camera" OFF)
|
option(YUZU_USE_QT_MULTIMEDIA "Use QtMultimedia for Camera" OFF)
|
||||||
|
|
||||||
option(YUZU_USE_QT_WEB_ENGINE "Use QtWebEngine for web applet implementation" OFF)
|
option(YUZU_USE_QT_WEB_ENGINE "Use QtWebEngine for web applet implementation" OFF)
|
||||||
|
|
|
@ -493,7 +493,12 @@ if (YUZU_ROOM)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Extra deps
|
# Extra deps
|
||||||
add_subdirectory(externals)
|
if (YUZU_USE_EXTERNAL_QUAZIP_QT6)
|
||||||
|
add_subdirectory(externals)
|
||||||
|
else()
|
||||||
|
find_package(QuaZip)
|
||||||
|
endif()
|
||||||
|
|
||||||
target_link_libraries(yuzu PRIVATE QuaZip::QuaZip)
|
target_link_libraries(yuzu PRIVATE QuaZip::QuaZip)
|
||||||
|
|
||||||
create_target_directory_groups(yuzu)
|
create_target_directory_groups(yuzu)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue