diff options
author | bunnei <bunneidev@gmail.com> | 2022-12-30 05:37:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-30 05:37:25 +0100 |
commit | c3af6d83724ef4640d2544f09220309cd93c701b (patch) | |
tree | d36867fbeb9bcafd8d263e9ba1a6d31fd5f93dd6 /externals/CMakeLists.txt | |
parent | Merge pull request #9521 from Wollnashorn/global-only-multiplayer-settings (diff) | |
parent | cmake: make Vulkan-Headers external the default (diff) | |
download | yuzu-c3af6d83724ef4640d2544f09220309cd93c701b.tar yuzu-c3af6d83724ef4640d2544f09220309cd93c701b.tar.gz yuzu-c3af6d83724ef4640d2544f09220309cd93c701b.tar.bz2 yuzu-c3af6d83724ef4640d2544f09220309cd93c701b.tar.lz yuzu-c3af6d83724ef4640d2544f09220309cd93c701b.tar.xz yuzu-c3af6d83724ef4640d2544f09220309cd93c701b.tar.zst yuzu-c3af6d83724ef4640d2544f09220309cd93c701b.zip |
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 endif() # libusb -if (NOT TARGET libusb::usb) +if (ENABLE_LIBUSB AND NOT TARGET libusb::usb) add_subdirectory(libusb EXCLUDE_FROM_ALL) endif() @@ -152,6 +152,6 @@ if (YUZU_USE_BUNDLED_FFMPEG) endif() # Vulkan-Headers -if (NOT TARGET Vulkan::Headers) +if (YUZU_USE_EXTERNAL_VULKAN_HEADERS) add_subdirectory(Vulkan-Headers EXCLUDE_FROM_ALL) endif() |