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 net: qemu: Adding support for User Networking 2020-05-08 10:47:38 +02:00
bintools cmake: Assembly listing containing all sections 2020-05-08 09:03:18 -04:00
compiler kconfig: Rename CONFIG_FLOAT to CONFIG_FPU 2020-04-27 19:03:44 +02:00
emu cmake: emu: Support QEMU semihosting console emulation 2020-05-07 23:33:38 -05:00
flash cmake: fix bug in generated runners.yaml 2020-04-09 14:04:27 +02:00
ide
linker/ld
makefile_exports
reports build: reports: add puncover target 2020-05-04 17:33:56 -04:00
toolchain cmake: Zephyr sdk backward compatibility with 0.11.1 and 0.11.2 2020-05-08 17:15:55 +02:00
usage
util
boards.cmake
ccache.cmake
cfb.cmake
dts.cmake cmake: re-run if gen_defines changes 2020-04-13 08:22:46 -05:00
extensions.cmake
extra_flags.cmake
gcc-m-cpu.cmake arch: arm: aarch64: Add Cortex-A72 config 2020-05-08 10:46:23 +02:00
generic_toolchain.cmake cmake: Zephyr sdk package handling 2020-05-08 17:15:55 +02:00
git.cmake
hex.cmake
host-tools.cmake cmake: host-tools fixes for DTC 2020-05-05 11:05:58 -05:00
kconfig.cmake cmake: kconfig: pass EXTRA_DTC_FLAGS to kconfig for EDT init 2020-04-16 06:07:24 -05:00
kobj.cmake
pristine.cmake
python.cmake cmake: find python3 on windows when multiarch are installed 2020-05-13 12:13:36 +02:00
target_toolchain.cmake
version.cmake
zephyr_module.cmake