mirror of https://github.com/encounter/SDL.git
cmake: Fix SDL_LIBUSB_DYNAMIC soname
This commit is contained in:
parent
b0dd4c7d36
commit
0cb39ed468
|
@ -1174,7 +1174,7 @@ macro(CheckHIDAPI)
|
||||||
else()
|
else()
|
||||||
# libusb is loaded dynamically, so don't add it to EXTRA_LIBS
|
# libusb is loaded dynamically, so don't add it to EXTRA_LIBS
|
||||||
FindLibraryAndSONAME("usb-1.0")
|
FindLibraryAndSONAME("usb-1.0")
|
||||||
set(SDL_LIBUSB_DYNAMIC "\"${USB_LIB_SONAME}\"")
|
set(SDL_LIBUSB_DYNAMIC "\"${USB_1.0_LIB_SONAME}\"")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue