diff options
Diffstat (limited to '')
| -rw-r--r-- | externals/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 4ffafd18c..1b9ae0009 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt | |||
| @@ -45,7 +45,7 @@ if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "12" AND CMAKE_CXX_COMPILER | |||
| 45 | endif() | 45 | endif() |
| 46 | 46 | ||
| 47 | # libusb | 47 | # libusb |
| 48 | if (NOT TARGET libusb::usb) | 48 | if (ENABLE_LIBUSB AND NOT TARGET libusb::usb) |
| 49 | add_subdirectory(libusb EXCLUDE_FROM_ALL) | 49 | add_subdirectory(libusb EXCLUDE_FROM_ALL) |
| 50 | endif() | 50 | endif() |
| 51 | 51 | ||
| @@ -152,6 +152,6 @@ if (YUZU_USE_BUNDLED_FFMPEG) | |||
| 152 | endif() | 152 | endif() |
| 153 | 153 | ||
| 154 | # Vulkan-Headers | 154 | # Vulkan-Headers |
| 155 | if (NOT TARGET Vulkan::Headers) | 155 | if (YUZU_USE_EXTERNAL_VULKAN_HEADERS) |
| 156 | add_subdirectory(Vulkan-Headers EXCLUDE_FROM_ALL) | 156 | add_subdirectory(Vulkan-Headers EXCLUDE_FROM_ALL) |
| 157 | endif() | 157 | endif() |