mirror of
https://github.com/aristocratos/btop.git
synced 2024-05-18 11:22:46 +12:00
cmake: Fix undefined reference to `kvm_openfiles' on BSD's
This commit is contained in:
parent
edcb68cbb9
commit
a0e2a5c1d2
|
@ -179,11 +179,11 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
|
|||
endif()
|
||||
|
||||
find_package(devstat REQUIRED)
|
||||
target_link_libraries(btop devstat::devstat)
|
||||
find_package(kvm REQUIRED)
|
||||
target_link_libraries(btop devstat::devstat kvm::kvm)
|
||||
if(BTOP_STATIC)
|
||||
find_package(elf REQUIRED)
|
||||
find_package(kvm REQUIRED)
|
||||
target_link_libraries(btop elf::elf kvm::kvm)
|
||||
target_link_libraries(btop elf::elf)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue