Commit 0cb39ed4685473928b01682f875f7bb086fbe465

Luke Street 2022-02-07T04:11:14

cmake: Fix SDL_LIBUSB_DYNAMIC soname

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cmake/sdlchecks.cmake b/cmake/sdlchecks.cmake
index a09891c..00901f2 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()