summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-06-12 01:29:34 +0200
committerGitHub <noreply@github.com>2021-06-12 01:29:34 +0200
commit8b5655a98e380a38436bb6002c55d9ba9cf8f16d (patch)
tree423e61e5b148f7b2d9c0bc5d47298587cc2295cc
parentMerge pull request #6451 from Morph1984/check-disk-space-dump (diff)
parentexternals: Don't set FOUND or VERSION on LIBUSB (diff)
downloadyuzu-8b5655a98e380a38436bb6002c55d9ba9cf8f16d.tar
yuzu-8b5655a98e380a38436bb6002c55d9ba9cf8f16d.tar.gz
yuzu-8b5655a98e380a38436bb6002c55d9ba9cf8f16d.tar.bz2
yuzu-8b5655a98e380a38436bb6002c55d9ba9cf8f16d.tar.lz
yuzu-8b5655a98e380a38436bb6002c55d9ba9cf8f16d.tar.xz
yuzu-8b5655a98e380a38436bb6002c55d9ba9cf8f16d.tar.zst
yuzu-8b5655a98e380a38436bb6002c55d9ba9cf8f16d.zip
-rw-r--r--externals/libusb/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/externals/libusb/CMakeLists.txt b/externals/libusb/CMakeLists.txt
index 06ce0fba7..7180fd42a 100644
--- a/externals/libusb/CMakeLists.txt
+++ b/externals/libusb/CMakeLists.txt
@@ -1,7 +1,7 @@
-set(LIBUSB_FOUND ON CACHE BOOL "libusb is present" FORCE)
-set(LIBUSB_VERSION "1.0.24" CACHE STRING "libusb version string" FORCE)
-
if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux"))
+ set(LIBUSB_FOUND ON CACHE BOOL "libusb is present" FORCE)
+ set(LIBUSB_VERSION "1.0.24" CACHE STRING "libusb version string" FORCE)
+
# GNU toolchains for some reason doesn't work with the later half of this CMakeLists after
# updating to 1.0.24, so we do it the old-fashioned way for now.