diff --git a/profiler/CMakeLists.txt b/profiler/CMakeLists.txt index 0b3b6827932..f150d0f4352 100644 --- a/profiler/CMakeLists.txt +++ b/profiler/CMakeLists.txt @@ -16,6 +16,9 @@ if(THEROCK_ENABLE_ROCPROFV3) # See: https://github.com/ROCm/rocprof-trace-decoder/ ############################################################################## therock_cmake_subproject_declare(rocprof-trace-decoder + # The build infrastructure requires generic stages to pass through + # DIST_AMDGPU_TARGETS even if the list isn't used by the underlying project. + USE_DIST_AMDGPU_TARGETS EXTERNAL_SOURCE_DIR "${THEROCK_ROCM_SYSTEMS_SOURCE_DIR}/projects/rocprof-trace-decoder" BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/rocprof-trace-decoder" BACKGROUND_BUILD