Explorar o código

Merge pull request #6532 from MerryMage/libusb-apple

libusb: Apple is a POSIX system
Morph %!s(int64=5) %!d(string=hai) anos
pai
achega
3bc7b0a587
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      externals/libusb/CMakeLists.txt

+ 1 - 1
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)