SWDEV-408398: Tests to depend on rocprofiler library not the tool library

Change-Id: I462ac1eb2990fffdee30373c379fd1ec15611470


[ROCm/rocprofiler commit: b7a7871fbe]
This commit is contained in:
Ammar ELWazir
2024-04-11 14:25:21 +00:00
committed by Ammar Elwazir
parent 622ec081ad
commit 27d102d6b6
@@ -122,7 +122,7 @@ target_compile_definitions(
PRIVATE PROF_API_IMPL HIP_PROF_HIP_API_STRING=1 __HIP_PLATFORM_AMD__=1)
target_link_libraries(
runUnitTests PRIVATE rocprofiler_tool ${AQLPROFILE_LIB} hsa-runtime64::hsa-runtime64
runUnitTests PRIVATE rocprofiler-v2 ${AQLPROFILE_LIB} hsa-runtime64::hsa-runtime64
GTest::gtest GTest::gtest_main stdc++fs ${PCIACCESS_LIBRARIES} ${GDB} dw elf c dl)
add_dependencies(tests runUnitTests)