Skip to content

Commit

Permalink
fix names for header-only components when built statically (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
lawruble13 authored Jun 27, 2024
1 parent 84e3510 commit 5a86281
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 5a86281

Please sign in to comment.