Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2021-10-06 17:13:21 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-10-06 18:44:25 +0300
commit0fd0b0643a7a1c0334f39bddba4067d8fa8eede6 (patch)
tree93bff476297ae716fb23a5b7c7c1c1b9e2316c78 /build_files
parent8a6f224e260b2ec7e39d2a02fca62f9614049091 (diff)
Build: search for hipcc in HIP_ROOT_DIR/bin
Diffstat (limited to 'build_files')
-rw-r--r--build_files/cmake/Modules/FindHIP.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/build_files/cmake/Modules/FindHIP.cmake b/build_files/cmake/Modules/FindHIP.cmake
index c68d78e5796..c331a19eb33 100644
--- a/build_files/cmake/Modules/FindHIP.cmake
+++ b/build_files/cmake/Modules/FindHIP.cmake
@@ -27,6 +27,8 @@ find_program(HIP_HIPCC_EXECUTABLE
hipcc
HINTS
${_hip_SEARCH_DIRS}
+ PATH_SUFFIXES
+ bin
)
if(HIP_HIPCC_EXECUTABLE AND NOT EXISTS ${HIP_HIPCC_EXECUTABLE})