diff options
| author | JMC47 <JMC4789@gmail.com> | 2025-04-29 14:55:50 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-29 14:55:50 -0400 |
| commit | b49711fefb645c8cd3e9dd86ca036fda7b1c1d65 (patch) | |
| tree | 1f61df5ae585d1aa47dc5d7c1d0e764705e2cd06 /Source/Core | |
| parent | 8ee64a84c7365b042f50e206d245b8a8464d1656 (diff) | |
| parent | 97e696e524f02436bba6d1ee42457b8325f38c60 (diff) | |
Merge pull request #13600 from JoshuaVandaele/nixfix
CMake: Explicitely link udev if LIBUDEV_FOUND is set
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/Core/CMakeLists.txt b/Source/Core/Core/CMakeLists.txt index 6036777bbb..a5db1d014c 100644 --- a/Source/Core/Core/CMakeLists.txt +++ b/Source/Core/Core/CMakeLists.txt @@ -656,6 +656,11 @@ PRIVATE ZLIB::ZLIB ) +if(LIBUDEV_FOUND) + target_include_directories(core PRIVATE ${LIBUDEV_INCLUDE_DIR}) + target_link_libraries(core PRIVATE ${LIBUDEV_LIBRARY}) +endif() + if (APPLE) target_link_libraries(core PRIVATE |
