mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-31 18:11:31 +02:00
Merge pull request #4641 from sephiroth99/fixextlibusbudev
Fix possible undefined reference when linking libusb from externals
This commit is contained in:
commit
56f203e937
2
Externals/libusb/CMakeLists.txt
vendored
2
Externals/libusb/CMakeLists.txt
vendored
@ -48,7 +48,7 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
target_link_libraries(usb PRIVATE "${LIBUDEV_LIBRARIES}")
|
||||
target_include_directories(usb PRIVATE "${LIBUDEV_INCLUDE_DIR}")
|
||||
set(HAVE_LIBUDEV TRUE)
|
||||
set(USE_LIBUDEV TRUE)
|
||||
set(USE_UDEV TRUE)
|
||||
else()
|
||||
target_sources(usb PRIVATE libusb/os/linux_netlink.c)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user