mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 06:14:54 +00:00
Fix cmake detection of libudev in hidapi broken in #9071
This commit is contained in:
parent
70bf89fa59
commit
b31754980c
1 changed files with 1 additions and 1 deletions
2
Externals/hidapi/CMakeLists.txt
vendored
2
Externals/hidapi/CMakeLists.txt
vendored
|
@ -9,7 +9,7 @@ if(APPLE)
|
|||
elseif(MSVC)
|
||||
target_sources(hidapi PRIVATE windows/hid.c)
|
||||
else()
|
||||
find_package(Libudev)
|
||||
find_package(LIBUDEV)
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND LIBUDEV_FOUND)
|
||||
target_sources(hidapi PRIVATE linux/hid.c)
|
||||
target_link_libraries(hidapi PRIVATE udev)
|
||||
|
|
Loading…
Add table
Reference in a new issue