opencv/platforms/linux
HAN Liutong f2962e5875
Merge pull request #24305 from hanliutong:toolchain
cmake: Fix riscv-gnu toolchain file. #24305

cmake(3.22.1) failed without the keyword `PATHS` on my device when I manually set `TOOLCHAIN_COMPILER_LOCATION_HINT` in command. And this patch is going to fix this issue.

[CMake Doc](https://cmake.org/cmake/help/latest/command/find_program.html):
> find_program (
>           <VAR>
>           name | NAMES name1 [name2 ...] [NAMES_PER_DIR]
>           [HINTS [path | ENV var]... ]
>           [PATHS [path | ENV var]... ]

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [ ] I agree to contribute to the project under Apache 2 License.
- [ ] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [ ] The PR is proposed to the proper branch
- [ ] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
2023-09-25 13:06:22 +03:00
..
aarch64-gnu.toolchain.cmake cmake: ARM toolchain: do not force compiler version 2016-11-10 17:58:42 +03:00
arm-gnueabi.toolchain.cmake cmake: ARM toolchain: do not force compiler version 2016-11-10 17:58:42 +03:00
arm.toolchain.cmake Misc. ./apps ./doc ./platoforms typos 2018-02-08 13:04:34 -05:00
gnu.toolchain.cmake cmake: fix cross-compilation problems 2021-08-05 11:42:58 +00:00
mips32r5el-gnu.toolchain.cmake fix files permissions 2020-04-13 04:29:55 +00:00
mips64r6el-gnu.toolchain.cmake fix files permissions 2020-04-13 04:29:55 +00:00
mips.toolchain.cmake fix files permissions 2020-04-13 04:29:55 +00:00
ppc64-gnu.toolchain.cmake cmake: Added Power toolchain 2017-10-28 17:50:43 +00:00
ppc64le-gnu.toolchain.cmake cmake: Added Power toolchain 2017-10-28 17:50:43 +00:00
ppcat.toolchain.cmake Misc. ./apps ./doc ./platoforms typos 2018-02-08 13:04:34 -05:00
riscv64-071-gcc.toolchain.cmake RISC-V: fix hardcoded options in RVV 0.7.1 toolchain file 2023-03-27 18:42:56 +03:00
riscv64-clang.toolchain.cmake cmake: fix RISC-V toolchains 2022-12-09 12:02:28 +00:00
riscv64-gcc.toolchain.cmake cmake: fix RISC-V toolchains 2022-12-09 12:02:28 +00:00
riscv-gnu.toolchain.cmake Merge pull request #24305 from hanliutong:toolchain 2023-09-25 13:06:22 +03:00