diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-10-06 17:13:21 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-10-06 18:44:25 +0300 |
commit | 0fd0b0643a7a1c0334f39bddba4067d8fa8eede6 (patch) | |
tree | 93bff476297ae716fb23a5b7c7c1c1b9e2316c78 /build_files/cmake | |
parent | 8a6f224e260b2ec7e39d2a02fca62f9614049091 (diff) |
Build: search for hipcc in HIP_ROOT_DIR/bin
Diffstat (limited to 'build_files/cmake')
-rw-r--r-- | build_files/cmake/Modules/FindHIP.cmake | 2 |
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}) |