Fixed building with libusb not dynamicaly loaded
(cherry-picked from commit3f89d1704d) (cherry-picked from commit4ebf34857a) (cherry-picked from commit5767dc710e) (cherry-picked from commit9d77945d36) (cherry-picked from commit2847696338)
This commit is contained in:
1 parent
531ddf5eb5
commit
ffcf32b4ff
8 files changed
+93
-45
No files matched your search
@@ -1186,7 +1186,7 @@ macro(CheckHIDAPI)
|
||||
set(HAVE_LIBUSB TRUE)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${LIBUSB_CFLAGS}")
|
||||
if(HIDAPI_ONLY_LIBUSB)
|
||||
list(APPEND EXTRA_LIBS ${LIBUSB_LIBS})
|
||||
list(APPEND EXTRA_LIBS ${LIBUSB_LIBRARIES})
|
||||
elseif(OS2)
|
||||
set(SDL_LIBUSB_DYNAMIC "\"usb100.dll\"")
|
||||
else()
|
||||
|
||||
Reference in new issue
Block a user