mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-19 01:44:53 +00:00
cmake: fix system libusb discovery (#2731)
This commit is contained in:
parent
a5958bf7f0
commit
a2a1ecde0a
3 changed files with 19 additions and 3 deletions
3
externals/CMakeLists.txt
vendored
3
externals/CMakeLists.txt
vendored
|
@ -202,8 +202,9 @@ if (NOT TARGET pugixml::pugixml)
|
|||
endif()
|
||||
|
||||
# libusb
|
||||
if (NOT TARGET usb-1.0)
|
||||
if (NOT TARGET libusb::usb)
|
||||
add_subdirectory(libusb)
|
||||
add_library(libusb::usb ALIAS usb-1.0)
|
||||
endif()
|
||||
|
||||
# Discord RPC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue