SWDEV-307399: Updating CMAKE dependency on rocprofiler

activity.h and rocprofiler.h are already exposed in rocprofiler
through the rocm installation directory.

Change-Id: Ia383d3818fd51452390d2217d82503af4d91aac6


[ROCm/roctracer commit: ee1b7e056e]
Dieser Commit ist enthalten in:
Ammar ELWazir
2022-06-09 17:07:06 -05:00
committet von Ammar Elwazir
Ursprung 927d2f45c4
Commit 724a21efea
-5
Datei anzeigen
@@ -51,11 +51,6 @@ if(NOT DEFINED LIBRARY_TYPE)
set(LIBRARY_TYPE SHARED)
endif()
## FIXME!!! should not depend on another project's internal files
execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory inc/rocprofiler)
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${PROJECT_SOURCE_DIR}/../rocprofiler/inc/rocprofiler.h inc/rocprofiler/rocprofiler.h)
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${PROJECT_SOURCE_DIR}/../rocprofiler/src/core/activity.h inc/rocprofiler/activity.h)
## Build libraries
add_subdirectory(src)