summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-06-11 22:57:04 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2021-06-11 22:57:04 +0200
commit2817ef1a53031c3478e5da29187a1377d090e048 (patch)
tree591150429ec710fc2618724464dd523f2368d33e
parentMerge pull request #6422 from FernandoS27/i-am-the-senate (diff)
downloadyuzu-2817ef1a53031c3478e5da29187a1377d090e048.tar
yuzu-2817ef1a53031c3478e5da29187a1377d090e048.tar.gz
yuzu-2817ef1a53031c3478e5da29187a1377d090e048.tar.bz2
yuzu-2817ef1a53031c3478e5da29187a1377d090e048.tar.lz
yuzu-2817ef1a53031c3478e5da29187a1377d090e048.tar.xz
yuzu-2817ef1a53031c3478e5da29187a1377d090e048.tar.zst
yuzu-2817ef1a53031c3478e5da29187a1377d090e048.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.