mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 13:37:56 +00:00
cmake: initial attempt at adding os/2 support.
This commit is contained in:
@@ -1170,6 +1170,8 @@ macro(CheckHIDAPI)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${LIBUSB_CFLAGS}")
|
||||
if(HIDAPI_ONLY_LIBUSB)
|
||||
list(APPEND EXTRA_LIBS ${LIBUSB_LIBS})
|
||||
elseif(OS2)
|
||||
set(SDL_LIBUSB_DYNAMIC "\"usb100.dll\"")
|
||||
else()
|
||||
# libusb is loaded dynamically, so don't add it to EXTRA_LIBS
|
||||
FindLibraryAndSONAME("usb-1.0")
|
||||
|
||||
Reference in New Issue
Block a user