diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2023-06-01 07:47:38 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-02 14:41:50 +0100 |
commit | 2a97429c16609f4075e96920b74580556de87ec5 (patch) | |
tree | 1e8aa94ce52047bceb5f6c2564e0105cf70971af /meta/recipes-support/libmpc | |
parent | ef70f26445ca834b404943b197f9928fe7d16e5a (diff) | |
download | poky-2a97429c16609f4075e96920b74580556de87ec5.tar.gz |
cmake.bbclass: do not search host paths for find_program()
OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM[1] controls the search
behavior of find_program(). When this variable's value was
first used in OE, it was deliberately set to BOTH to allow
searching of host tools. This is to ensure the necessary tools
from host could be used. The downside is that the configure
behavior may differ on different host environments.
Later, this cmake.bbclass was added the ability to search tools
under the HOSTTOOLS_DIR. This means we no longer needs cmake to
search the host paths. So we remove the class-native setting of
BOTH.
[1] https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_ROOT_PATH_MODE_PROGRAM.html
(From OE-Core rev: f4ea12f6635125ee793f4dd801c538c0186f9dc3)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libmpc')
0 files changed, 0 insertions, 0 deletions