Use official libusb repo

This commit is contained in:
RipleyTom
2020-02-21 20:41:34 +01:00
committed by Ivan
parent 96be40bf30
commit 4befa36365
12 changed files with 493 additions and 4 deletions
+2 -2
View File
@@ -138,9 +138,9 @@ if(CMAKE_SYSTEM MATCHES "DragonFly|FreeBSD")
elseif(MSVC)
# Windows time.h defines timespec but doesn't add any flag for it, which makes libusb attempt to define it again
add_definitions(-DHAVE_STRUCT_TIMESPEC=1)
add_subdirectory(libusb EXCLUDE_FROM_ALL)
add_subdirectory(libusb_cmake EXCLUDE_FROM_ALL)
else()
add_subdirectory(libusb EXCLUDE_FROM_ALL)
add_subdirectory(libusb_cmake EXCLUDE_FROM_ALL)
endif()