From 6d9985e5f749b5a765ef2f359bf6575e1359ae38 Mon Sep 17 00:00:00 2001 From: Dr-Noob Date: Tue, 11 Jan 2022 18:33:49 +0100 Subject: [PATCH] [v0.22] Link against udev, which should fix the error reported by #9 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 83fb8cc..2f3ed5b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,7 +90,7 @@ if(ENABLE_CUDA_BACKEND) target_link_libraries(gpufetch cuda_backend) endif() -target_link_libraries(gpufetch pci z) +target_link_libraries(gpufetch pci z udev) install(TARGETS gpufetch DESTINATION bin) if(NOT WIN32)