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


[ROCm/clr commit: d65aaf2f78]
This commit is contained in:
Ranjith Ramakrishnan
2022-07-07 18:40:46 -07:00
parent 1ff27025ee
commit 96e042b340
+1 -1
View File
@@ -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()