diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt index 500d3f6b..9944b9b5 100644 --- a/library/CMakeLists.txt +++ b/library/CMakeLists.txt @@ -51,7 +51,7 @@ add_library(roc::rocsparse ALIAS rocsparse) # Target link libraries if(NOT HIP_PLATFORM STREQUAL "nvcc") - target_link_libraries(rocsparse PRIVATE hip::hip_hcc hip::hip_device hcc::hccshared) + target_link_libraries(rocsparse PRIVATE hip::device) foreach(target ${AMDGPU_TARGETS}) target_link_libraries(rocsparse PRIVATE --amdgpu-target=${target}) endforeach()