From e16c125f20394c73bf8513585569a076ec72b281 Mon Sep 17 00:00:00 2001 From: Stella Laurenzo Date: Wed, 24 Sep 2025 15:40:51 -0700 Subject: [PATCH] Add rt dep back [ROCm/amdsmi commit: 62e4329559892effc65c3bc55e8042348d8ac1e7] --- projects/amdsmi/rocm_smi/CMakeLists.txt | 3 ++- projects/amdsmi/src/CMakeLists.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/amdsmi/rocm_smi/CMakeLists.txt b/projects/amdsmi/rocm_smi/CMakeLists.txt index 3338267d51..c962e4fe47 100644 --- a/projects/amdsmi/rocm_smi/CMakeLists.txt +++ b/projects/amdsmi/rocm_smi/CMakeLists.txt @@ -45,7 +45,8 @@ configure_file("src/${ROCM_SMI_TARGET}Config.in" "${CMAKE_CURRENT_SOURCE_DIR}/include/rocm_smi/${ROCM_SMI_TARGET}Config.h") add_library(${ROCM_SMI_TARGET} ${CMN_SRC_LIST} ${CMN_INC_LIST}) -target_link_libraries(${ROCM_SMI_TARGET} PRIVATE +target_link_libraries(${ROCM_SMI_TARGET} PRIVATE + rt PkgConfig::DRM PkgConfig::DRM_AMDGPU Threads::Threads diff --git a/projects/amdsmi/src/CMakeLists.txt b/projects/amdsmi/src/CMakeLists.txt index 892f8ae447..cc4600fff1 100644 --- a/projects/amdsmi/src/CMakeLists.txt +++ b/projects/amdsmi/src/CMakeLists.txt @@ -79,6 +79,7 @@ message("SOVERSION: ${SO_VERSION_STRING}") add_library(${AMD_SMI} ${SRC_LIST} ${INC_LIST}) target_link_libraries(${AMD_SMI} PRIVATE + rt PkgConfig::DRM PkgConfig::DRM_AMDGPU Threads::Threads