Explorar o código

libusb: Apple is a POSIX system

MerryMage %!s(int64=5) %!d(string=hai) anos
pai
achega
f54f29198f
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)