Merge pull request #13600 from JoshuaVandaele/nixfix

CMake: Explicitely link udev if LIBUDEV_FOUND is set
This commit is contained in:
JMC47
2025-04-29 14:55:50 -04:00
committed by GitHub

View File

@ -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