summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/CMakeLists.txt5
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