zephyr/cmake
Torsten Rasmussen 3a2f8349fd cmake: find python3 on windows when multiarch are installed
Fixes: #24692

This commit fixes an issue where FindPython3 could wrongly select the
Python version not in environment path.

If user installed both 32 and 64 bit versions of the same Python, for
example 3.7.x, the current search would only specify that 3.7 is needed.

In some cases, FindPython3 could select the 32 bit version, even if the
64 bit version is the one on %PATH%.

This is fixed, by setting Python3_ROOT_DIR to point to the tested Python
in %PATH%.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2020-05-13 12:13:36 +02:00
..
app
bintools
compiler
emu
flash
ide
linker/ld
makefile_exports
reports
toolchain
usage
util
boards.cmake
ccache.cmake
cfb.cmake
dts.cmake
extensions.cmake
extra_flags.cmake
gcc-m-cpu.cmake
generic_toolchain.cmake
git.cmake
hex.cmake
host-tools.cmake
kconfig.cmake
kobj.cmake
pristine.cmake
python.cmake
target_toolchain.cmake
version.cmake
zephyr_module.cmake