diff --git a/CMakeLists.txt b/CMakeLists.txt index a364821734..558f117b3e 100644 --- a/CMakeLists.txt +++ b/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) diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt index 2902b695ad..6f3a5f1104 100644 --- a/src/yuzu/CMakeLists.txt +++ b/src/yuzu/CMakeLists.txt @@ -493,7 +493,12 @@ if (YUZU_ROOM) endif() # 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) create_target_directory_groups(yuzu)