From d65aaf2f78d5a98ba34678b30cf233e4430a533a Mon Sep 17 00:00:00 2001 From: Ranjith Ramakrishnan Date: Thu, 7 Jul 2022 18:40:46 -0700 Subject: [PATCH] SWDEV-345579 - Fix the installation path of FindHIP The path variable was used incorrectly and this is causing issue in spack build Change-Id: I34890577f1403d0d5efcba80d417ad5f9720aa6e --- hipamd/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hipamd/CMakeLists.txt b/hipamd/CMakeLists.txt index 7617ecac34..ba80365783 100755 --- a/hipamd/CMakeLists.txt +++ b/hipamd/CMakeLists.txt @@ -371,7 +371,7 @@ if(NOT ${INSTALL_SOURCE} EQUAL 0) if(WIN32) install(DIRECTORY ${HIP_COMMON_DIR}/cmake DESTINATION .) else() - install(DIRECTORY ${HIP_COMMON_DIR}/cmake/ DESTINATION CONFIG_PACKAGE_INSTALL_DIR) + install(DIRECTORY ${HIP_COMMON_DIR}/cmake/ DESTINATION ${CONFIG_PACKAGE_INSTALL_DIR}) endif() endif()