diff --git a/projects/rocprofiler/test/CMakeLists.txt b/projects/rocprofiler/test/CMakeLists.txt index e261e178cc..15eb064bf3 100644 --- a/projects/rocprofiler/test/CMakeLists.txt +++ b/projects/rocprofiler/test/CMakeLists.txt @@ -128,7 +128,7 @@ add_custom_target(test DEPENDS ${HSACO_TARGET_LIST}) add_custom_target(mytest DEPENDS ${HSACO_TARGET_LIST}) add_custom_command(TARGET mytest POST_BUILD DEPENDS mytest - COMMAND $<$:${CMAKE_STRIP}> + COMMAND $<$:${CPACK_STRIP_EXECUTABLE}> ARGS ${HSACO_TARGET_LIST}) ## Building standalone test executable