Compare commits

...

3 Commits

Author SHA1 Message Date
Nathan 87f7071d72
Merge e5a9728e23 into c767099d76 2024-03-04 11:09:36 -08:00
Nathan Crapo e5a9728e23 dl* only needed with BTOP_GPU on Linux
Moving the dl library to a LINUX && BTOP_GPU section so -ldl doesn't
get included for non-Linux or non-GPU builds
2024-01-07 15:11:53 -07:00
Nathan Crapo b904097c6a Add unresolved externs for rpi 32 build 2024-01-06 21:04:39 -07:00
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,7 @@ target_link_libraries(btop Threads::Threads)
# Enable GPU support
if(LINUX AND BTOP_GPU)
target_compile_definitions(btop PRIVATE GPU_SUPPORT)
target_link_libraries(btop dl)
if(BTOP_RSMI_STATIC)
# ROCm doesn't properly add it's folders to the module path if `CMAKE_MODULE_PATH` is already