Skip to content

Commit

Permalink
Merge pull request #755 from imwints/bsd
Browse files Browse the repository at this point in the history
  • Loading branch information
aristocratos authored Feb 11, 2024
2 parents 1d62896 + a0e2a5c commit e813767
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,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()
elseif(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
Expand Down

0 comments on commit e813767

Please sign in to comment.