diff options
author | hhb <haibohuang2010@gmail.com> | 2021-09-16 08:11:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-09-16 12:45:33 (GMT) |
commit | 94f37767749a602d3471e7a1ee2772357a444385 (patch) | |
tree | fa17357f11f2ac6d9455e04ddab3b8fe251f8a8e /Source/cmExportTryCompileFileGenerator.cxx | |
parent | fd64b84d152ea0d9e2425e172db34aeb67ea8cf1 (diff) | |
download | CMake-94f37767749a602d3471e7a1ee2772357a444385.zip CMake-94f37767749a602d3471e7a1ee2772357a444385.tar.gz CMake-94f37767749a602d3471e7a1ee2772357a444385.tar.bz2 |
Android: Restore searching PATH for executables
Since commit a7f41a7ee4 (Android: Fix find_* search order within NDK for
unified toolchains, 2020-10-13, v3.20.0-rc1~610^2), we turn off
`CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH`. This breaks `find_program`
searching `PATH` for host executables. Fortunately, the setting turns
out not to be necessary, perhaps since commit cbc51a8be3 (Android:
restructure android search paths, 2020-11-06, v3.20.0-rc1~509^2).
Without it, none of NDK tests fail, so remove it to restore pre-3.20
behavior.
Fixes: #22634
Diffstat (limited to 'Source/cmExportTryCompileFileGenerator.cxx')
0 files changed, 0 insertions, 0 deletions