mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 09:09:04 +00:00
Merge pull request #13600 from JoshuaVandaele/nixfix
CMake: Explicitely link udev if LIBUDEV_FOUND is set
This commit is contained in:
commit
b49711fefb
1 changed files with 5 additions and 0 deletions
|
@ -656,6 +656,11 @@ PRIVATE
|
||||||
ZLIB::ZLIB
|
ZLIB::ZLIB
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(LIBUDEV_FOUND)
|
||||||
|
target_include_directories(core PRIVATE ${LIBUDEV_INCLUDE_DIR})
|
||||||
|
target_link_libraries(core PRIVATE ${LIBUDEV_LIBRARY})
|
||||||
|
endif()
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
target_link_libraries(core
|
target_link_libraries(core
|
||||||
PRIVATE
|
PRIVATE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue