From 49a910adfb81c049a95bf661ff7f0ce04dcf8a93 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Mon, 27 Aug 2018 18:02:30 +0800 Subject: [PATCH] cmake: partition_table: Use PYTHON interpreter when running parttool.py (fixes flasher args on Windows) --- components/partition_table/project_include.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/partition_table/project_include.cmake b/components/partition_table/project_include.cmake index 07ba2cce02..0144264722 100644 --- a/components/partition_table/project_include.cmake +++ b/components/partition_table/project_include.cmake @@ -29,7 +29,7 @@ set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${PARTITION_CSV_P # Parse the partition table to get variable partition offsets & sizes which must be known at CMake runtime function(get_partition_info variable get_part_info_args) separate_arguments(get_part_info_args) - execute_process(COMMAND + execute_process(COMMAND ${PYTHON} ${COMPONENT_PATH}/parttool.py -q --partition-table-offset ${PARTITION_TABLE_OFFSET} ${get_part_info_args} -- 2.40.0