summaryrefslogtreecommitdiffstats
path: root/externals/CMakeLists.txt
diff options
context:
space:
mode:
authorAlexandre Bouvier <contact@amb.tf>2022-12-05 22:03:34 +0100
committerAlexandre Bouvier <contact@amb.tf>2022-12-06 05:30:40 +0100
commitf385175aa21f47b5f4830fcc65128b19ee46e2fe (patch)
tree093eec7642239bb4cfbea05121870191d2f181f7 /externals/CMakeLists.txt
parentMerge pull request #9385 from Morph1984/dynarmic-ver (diff)
downloadyuzu-f385175aa21f47b5f4830fcc65128b19ee46e2fe.tar
yuzu-f385175aa21f47b5f4830fcc65128b19ee46e2fe.tar.gz
yuzu-f385175aa21f47b5f4830fcc65128b19ee46e2fe.tar.bz2
yuzu-f385175aa21f47b5f4830fcc65128b19ee46e2fe.tar.lz
yuzu-f385175aa21f47b5f4830fcc65128b19ee46e2fe.tar.xz
yuzu-f385175aa21f47b5f4830fcc65128b19ee46e2fe.tar.zst
yuzu-f385175aa21f47b5f4830fcc65128b19ee46e2fe.zip
Diffstat (limited to 'externals/CMakeLists.txt')
-rw-r--r--externals/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index fea10d809..4ffafd18c 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -45,8 +45,8 @@ if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "12" AND CMAKE_CXX_COMPILER
endif()
# libusb
-if (NOT LIBUSB_FOUND OR YUZU_USE_BUNDLED_LIBUSB)
- add_subdirectory(libusb)
+if (NOT TARGET libusb::usb)
+ add_subdirectory(libusb EXCLUDE_FROM_ALL)
endif()
# SDL2