summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 @@
1set(LIBUSB_FOUND ON CACHE BOOL "libusb is present" FORCE)
2set(LIBUSB_VERSION "1.0.24" CACHE STRING "libusb version string" FORCE)
3
4if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux")) 1if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux"))
2 set(LIBUSB_FOUND ON CACHE BOOL "libusb is present" FORCE)
3 set(LIBUSB_VERSION "1.0.24" CACHE STRING "libusb version string" FORCE)
4
5 # GNU toolchains for some reason doesn't work with the later half of this CMakeLists after 5 # GNU toolchains for some reason doesn't work with the later half of this CMakeLists after
6 # updating to 1.0.24, so we do it the old-fashioned way for now. 6 # updating to 1.0.24, so we do it the old-fashioned way for now.
7 7