From 2692cac562d0ea2c9cf0212a85b9523281169a39 Mon Sep 17 00:00:00 2001 From: Sean Keely Date: Fri, 13 Aug 2021 17:37:56 -0500 Subject: [PATCH] Add check_required_components to end of cmake package file. Sets package found and component lists. ROCr does not have components so this is mostly cosmetic. It's part of maintaining a compliant cmake project config file though. Change-Id: Ida2ef746375143babd3a6f938727a47135606f01 [ROCm/ROCR-Runtime commit: 9e7d4629cac90e135f275d66738d4b63821a0801] --- .../runtime/hsa-runtime/hsa-runtime64-config.cmake.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/hsa-runtime64-config.cmake.in b/projects/rocr-runtime/runtime/hsa-runtime/hsa-runtime64-config.cmake.in index 8480acec11..5835131477 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/hsa-runtime64-config.cmake.in +++ b/projects/rocr-runtime/runtime/hsa-runtime/hsa-runtime64-config.cmake.in @@ -56,3 +56,5 @@ if( NOT _is_hsa_runtime_dynamic ) endif() include( "${CMAKE_CURRENT_LIST_DIR}/@CORE_RUNTIME_NAME@Targets.cmake" ) + +check_required_components(@CORE_RUNTIME_NAME@)