cmake: Fix SDL_LIBUSB_DYNAMIC soname

This commit is contained in:
Luke Street authored and Ethan Lee committed 2022-02-07 14:22:31 -05:00
1 parent b0dd4c7d36
commit 0cb39ed468
1 file changed
+1 -1
+1 -1
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()