[v0.22] Link against udev, which should fix the error reported by #9

This commit is contained in:
Dr-Noob
2022-01-11 18:33:49 +01:00
parent 0faa7caeee
commit 6d9985e5f7

View File

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