cmake: Fix SDL_LIBUSB_DYNAMIC soname

This commit is contained in:
Luke Street 2022-02-07 04:11:14 -05:00 committed by Ethan Lee
parent b0dd4c7d36
commit 0cb39ed468
1 changed files with 1 additions and 1 deletions

View File

@ -1174,7 +1174,7 @@ macro(CheckHIDAPI)
else()
# libusb is loaded dynamically, so don't add it to EXTRA_LIBS
FindLibraryAndSONAME("usb-1.0")
set(SDL_LIBUSB_DYNAMIC "\"${USB_LIB_SONAME}\"")
set(SDL_LIBUSB_DYNAMIC "\"${USB_1.0_LIB_SONAME}\"")
endif()
endif()
endif()