Compare commits

...

2 Commits

Author SHA1 Message Date
Massimiliano Culpo f7a6d8bc03
Merge e10ef35a1c into c767099d76 2024-03-04 11:09:36 -08:00
Massimiliano Culpo e10ef35a1c
cmake: link to CMAKE_DL_LIBS
Link btop to ${CMAKE_DL_LIBS} when
building using shared libs and GPU support on linux
2024-01-18 12:07:14 +01:00
1 changed files with 3 additions and 0 deletions

View File

@ -168,6 +168,9 @@ if(LINUX AND BTOP_GPU)
target_link_libraries(btop ROCm)
endif()
if(NOT BTOP_STATIC)
target_link_libraries(btop ${CMAKE_DL_LIBS})
endif()
endif()
if(BTOP_USE_MOLD)