From: Cordell Bloor Date: Thu, 17 Apr 2025 22:05:44 -0600 Subject: fix FindHIP search for HIP_CLANG_PATH Debian-Bug: https://bugs.debian.org/1099404 Forwarded: no --- hip/cmake/FindHIP.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hip/cmake/FindHIP.cmake b/hip/cmake/FindHIP.cmake index 26f457f..97b6777 100644 --- a/hip/cmake/FindHIP.cmake +++ b/hip/cmake/FindHIP.cmake @@ -89,7 +89,7 @@ else() # RealPath: /lib/cmake/hip/FindHIP.cmake # Go 4 level up to get IMPORT PREFIX as get_filename_component(_FILE_PATH "${CMAKE_CURRENT_LIST_FILE}" REALPATH) - get_filename_component(_IMPORT_PREFIX "${_FILE_PATH}/../../../../" ABSOLUTE) + get_filename_component(_IMPORT_PREFIX "${_FILE_PATH}/../../../../../" ABSOLUTE) endif() # HIP is currently not supported for apple