From 0cb39ed4685473928b01682f875f7bb086fbe465 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Mon, 7 Feb 2022 04:11:14 -0500 Subject: [PATCH] cmake: Fix SDL_LIBUSB_DYNAMIC soname --- cmake/sdlchecks.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/sdlchecks.cmake b/cmake/sdlchecks.cmake index a09891cc7..00901f294 100644 --- a/cmake/sdlchecks.cmake +++ b/cmake/sdlchecks.cmake @@ -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()