From e8477f460fe509338fe89393ad841a14b0cd424e Mon Sep 17 00:00:00 2001 From: Ranjith Ramakrishnan Date: Fri, 13 Jun 2025 00:03:25 -0700 Subject: [PATCH] SWDEV-534264 - Add liboam.a to static rocm-smi package liboam.a was missing in static rocm-smi package and resulting in compilation error on appliction that use rocm-smi [ROCm/rocm_smi_lib commit: 59468e3f782143df36fdab2a206be8f17d3d220a] --- projects/rocm-smi-lib/oam/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/rocm-smi-lib/oam/CMakeLists.txt b/projects/rocm-smi-lib/oam/CMakeLists.txt index ad6b54b346..7aa1b5ff75 100644 --- a/projects/rocm-smi-lib/oam/CMakeLists.txt +++ b/projects/rocm-smi-lib/oam/CMakeLists.txt @@ -102,8 +102,8 @@ target_include_directories(${OAM_TARGET} ## Add the install directives for the runtime library. install(TARGETS ${OAM_TARGET} EXPORT rocm_smiTargets - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - COMPONENT dev) + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT dev + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT dev) install(TARGETS ${OAM_TARGET} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT asan)