Merge branch 'bugfix/cmake_error_on_windows' into 'master'

cmake: remove cmake ver specification for early exp script

See merge request espressif/esp-idf!9288
This commit is contained in:
Angus Gratton
2020-07-10 12:58:48 +08:00
2 changed files with 3 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ set(IDFTOOL ${PYTHON} "${IDF_PATH}/tools/idf.py")
# Internally, the Python interpreter is already set to 'python'. Re-set here
# to be absolutely sure.
set_default(PYTHON "python")
file(TO_CMAKE_PATH ${PYTHON} PYTHON)
idf_build_set_property(PYTHON ${PYTHON})
# On processing, checking Python required modules can be turned off if it was

View File

@@ -1,4 +1,5 @@
cmake_minimum_required(VERSION 3.5)
# if(IN_LIST) is used, which requires CMP0057 set to NEW
cmake_policy(SET CMP0057 NEW)
include("${BUILD_PROPERTIES_FILE}")
include("${COMPONENT_PROPERTIES_FILE}")