summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-06-27 00:30:47 -0400
committerGitHub <noreply@github.com>2021-06-27 00:30:47 -0400
commit3bc7b0a587b39671797d5581ea9d252d197c4f5a (patch)
tree71ac9d6f141975edd1379a467b24291c24ad4ba9
parent432fab7c4f7c8664b2f9319fd6ac6cb8960407e4 (diff)
parentf54f29198f87bf486da5cdead5a22111ec3ff0f9 (diff)
Merge pull request #6532 from MerryMage/libusb-apple
libusb: Apple is a POSIX system
-rw-r--r--externals/libusb/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/externals/libusb/CMakeLists.txt b/externals/libusb/CMakeLists.txt
index 7180fd42a..8b9e6433c 100644
--- a/externals/libusb/CMakeLists.txt
+++ b/externals/libusb/CMakeLists.txt
@@ -1,4 +1,4 @@
-if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux"))
+if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux") OR APPLE)
set(LIBUSB_FOUND ON CACHE BOOL "libusb is present" FORCE)
set(LIBUSB_VERSION "1.0.24" CACHE STRING "libusb version string" FORCE)