summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-12-29 02:55:32 +0100
committerLiam <byteslice@airmail.cc>2022-12-29 02:55:32 +0100
commit9ce23bde245af9c73282688325311a45050995fe (patch)
tree16f96a578d2dc3ba05de67e85d244b9b447932f2 /CMakeLists.txt
parentcmake: make cubeb and SDL2 optional (diff)
downloadyuzu-9ce23bde245af9c73282688325311a45050995fe.tar
yuzu-9ce23bde245af9c73282688325311a45050995fe.tar.gz
yuzu-9ce23bde245af9c73282688325311a45050995fe.tar.bz2
yuzu-9ce23bde245af9c73282688325311a45050995fe.tar.lz
yuzu-9ce23bde245af9c73282688325311a45050995fe.tar.xz
yuzu-9ce23bde245af9c73282688325311a45050995fe.tar.zst
yuzu-9ce23bde245af9c73282688325311a45050995fe.zip
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ea7829707..55fdf8fcc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,6 +37,8 @@ option(ENABLE_WEB_SERVICE "Enable web services (telemetry, etc.)" ON)
option(YUZU_USE_BUNDLED_FFMPEG "Download/Build bundled FFmpeg" "${WIN32}")
+option(YUZU_USE_EXTERNAL_VULKAN_HEADERS "Use Vulkan-Headers from externals" ON)
+
option(YUZU_USE_QT_MULTIMEDIA "Use QtMultimedia for Camera" OFF)
option(YUZU_USE_QT_WEB_ENGINE "Use QtWebEngine for web applet implementation" OFF)
@@ -211,10 +213,13 @@ find_package(inih)
find_package(lz4 REQUIRED)
find_package(nlohmann_json 3.8 REQUIRED)
find_package(Opus 1.3)
-find_package(Vulkan 1.3.238)
find_package(ZLIB 1.2 REQUIRED)
find_package(zstd 1.5 REQUIRED)
+if (NOT YUZU_USE_EXTERNAL_VULKAN_HEADERS)
+ find_package(Vulkan 1.3.238)
+endif()
+
if (ENABLE_LIBUSB)
find_package(libusb 1.0.24)
endif()