From f3383aa204608420ceb291a55c328f0bc2031d99 Mon Sep 17 00:00:00 2001 From: Lauren Wrubleski Date: Tue, 18 Jun 2024 13:41:50 -0600 Subject: [PATCH] fix names for header-only components when built statically --- share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake b/share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake index c55968d2..d604e98a 100755 --- a/share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake +++ b/share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake @@ -475,7 +475,7 @@ macro(rocm_compute_component_package_name COMPONENT_NAME BASE_NAME NAME_SUFFIX H else() if(ENABLE_ASAN_PACKAGING) set(_component_suffix asan) - elseif(NOT ${HEADER_ONLY} AND NOT ${BUILD_SHARED_LIBS}) + elseif(NOT ${BUILD_SHARED_LIBS}) set(_component_suffix static) endif() endif()