Skip to content

Commit

Permalink
fix names for header-only components when built statically
Browse files Browse the repository at this point in the history
  • Loading branch information
lawruble13 committed Jun 18, 2024
1 parent 008acef commit f3383aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f3383aa

Please sign in to comment.