Fix install for conversion-script (#211)

Tá an tiomantas seo le fáil i:
Welton, Benjamin
2025-02-13 17:00:20 -08:00
tiomanta ag GitHub
tuismitheoir 376c2a96ad
tiomantas fd99654433
D'athraigh 4 comhad le 25 breiseanna agus 3 scriosta
+17
Féach ar an gComhad
@@ -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)