Fix install for conversion-script (#211)

Este commit está contenido en:
Welton, Benjamin authored and GitHub committed 2025-02-13 19:00:20 -06:00
1 padre 376c2a96ad
commit fd99654433
4 files changed
+25 -3

No files matched your search

+1
Ver fichero
@@ -17,3 +17,4 @@ add_subdirectory(lib)
add_subdirectory(libexec)
add_subdirectory(bin)
add_subdirectory(docs)
add_subdirectory(scripts)
+17
Ver fichero
@@ -0,0 +1,17 @@
configure_file(
convert-counters-collection-format.py
${PROJECT_BINARY_DIR}/share/rocprofiler-sdk/convert-counters-collection-format.py
COPYONLY)
set(CONVERT_CC_FORMAT_PATH
${PROJECT_BINARY_DIR}/share/rocprofiler-sdk/convert-counters-collection-format.py)
add_executable(rocprofiler-sdk::convert-counters-collection-format IMPORTED)
set_property(TARGET rocprofiler-sdk::convert-counters-collection-format
PROPERTY IMPORTED_LOCATION ${CONVERT_CC_FORMAT_PATH})
install(
FILES
${PROJECT_BINARY_DIR}/share/rocprofiler-sdk/convert-counters-collection-format.py
DESTINATION share/rocprofiler-sdk
COMPONENT core)