[rocprofiler-systems] Update install path for examples (#2625)

* Update install path for examples to `share/rocprofiler-systems/examples`

----

Co-authored-by: Kian Cossettini <Kian.Cossettini@amd.com>
Signed-off-by: David Galiffi <David.Galiffi@amd.com>
This commit is contained in:
Kian Cossettini authored and GitHub committed 2026-01-15 21:51:16 -05:00
1 parent 8760fb4976
commit 9f014db6a4
20 files changed
+215 -111

No files matched your search

@@ -40,3 +40,11 @@ target_compile_options(tests-compile-options INTERFACE -g)
add_executable(thread-limit thread-limit.cpp)
target_compile_definitions(thread-limit PRIVATE MAX_THREADS=${ROCPROFSYS_MAX_THREADS})
target_link_libraries(thread-limit PRIVATE Threads::Threads tests-compile-options)
if(ROCPROFSYS_INSTALL_EXAMPLES AND TARGET thread-limit)
install(
TARGETS thread-limit
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/rocprofiler-systems/examples
COMPONENT rocprofiler-systems-examples
)
endif()