1
0
Fork 0
forked from suyu/suyu

Merge pull request #6532 from MerryMage/libusb-apple

libusb: Apple is a POSIX system
This commit is contained in:
Morph 2021-06-27 00:30:47 -04:00 committed by GitHub
commit 3bc7b0a587
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)