diff options
Diffstat (limited to '')
| -rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a124db07..ea7829707 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -22,6 +22,8 @@ CMAKE_DEPENDENT_OPTION(YUZU_USE_BUNDLED_SDL2 "Download bundled SDL2 binaries" ON | |||
| 22 | # On Linux system SDL2 is likely to be lacking HIDAPI support which have drawbacks but is needed for SDL motion | 22 | # On Linux system SDL2 is likely to be lacking HIDAPI support which have drawbacks but is needed for SDL motion |
| 23 | CMAKE_DEPENDENT_OPTION(YUZU_USE_EXTERNAL_SDL2 "Compile external SDL2" ON "ENABLE_SDL2;NOT MSVC" OFF) | 23 | CMAKE_DEPENDENT_OPTION(YUZU_USE_EXTERNAL_SDL2 "Compile external SDL2" ON "ENABLE_SDL2;NOT MSVC" OFF) |
| 24 | 24 | ||
| 25 | option(ENABLE_LIBUSB "Enable the use of LibUSB" ON) | ||
| 26 | |||
| 25 | option(ENABLE_OPENGL "Enable OpenGL" ON) | 27 | option(ENABLE_OPENGL "Enable OpenGL" ON) |
| 26 | mark_as_advanced(FORCE ENABLE_OPENGL) | 28 | mark_as_advanced(FORCE ENABLE_OPENGL) |
| 27 | option(ENABLE_QT "Enable the Qt frontend" ON) | 29 | option(ENABLE_QT "Enable the Qt frontend" ON) |
| @@ -206,7 +208,6 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin) | |||
| 206 | find_package(enet 1.3) | 208 | find_package(enet 1.3) |
| 207 | find_package(fmt 9 REQUIRED) | 209 | find_package(fmt 9 REQUIRED) |
| 208 | find_package(inih) | 210 | find_package(inih) |
| 209 | find_package(libusb 1.0.24) | ||
| 210 | find_package(lz4 REQUIRED) | 211 | find_package(lz4 REQUIRED) |
| 211 | find_package(nlohmann_json 3.8 REQUIRED) | 212 | find_package(nlohmann_json 3.8 REQUIRED) |
| 212 | find_package(Opus 1.3) | 213 | find_package(Opus 1.3) |
| @@ -214,6 +215,10 @@ find_package(Vulkan 1.3.238) | |||
| 214 | find_package(ZLIB 1.2 REQUIRED) | 215 | find_package(ZLIB 1.2 REQUIRED) |
| 215 | find_package(zstd 1.5 REQUIRED) | 216 | find_package(zstd 1.5 REQUIRED) |
| 216 | 217 | ||
| 218 | if (ENABLE_LIBUSB) | ||
| 219 | find_package(libusb 1.0.24) | ||
| 220 | endif() | ||
| 221 | |||
| 217 | if (ARCHITECTURE_x86 OR ARCHITECTURE_x86_64) | 222 | if (ARCHITECTURE_x86 OR ARCHITECTURE_x86_64) |
| 218 | find_package(xbyak 6 QUIET) | 223 | find_package(xbyak 6 QUIET) |
| 219 | endif() | 224 | endif() |