scripts: adjust WEST_PYTHON to posix path
Adjust WEST_PYTHON to posix path to be consistent with other Python scripts which passes paths to the Zephyr CMake build system. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
parent
7153157f88
commit
c03e1900ae
|
@ -497,7 +497,7 @@ class Build(Forceable):
|
|||
# to Just Work:
|
||||
#
|
||||
# west build -- -DOVERLAY_CONFIG=relative-path.conf
|
||||
final_cmake_args = ['-DWEST_PYTHON={}'.format(sys.executable),
|
||||
final_cmake_args = ['-DWEST_PYTHON={}'.format(pathlib.Path(sys.executable).as_posix()),
|
||||
'-B{}'.format(self.build_dir),
|
||||
'-G{}'.format(config_get('generator',
|
||||
DEFAULT_CMAKE_GENERATOR))]
|
||||
|
|
Loading…
Reference in a new issue