mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 13:44:32 +02:00
Merge branch 'bugfix/mbedtls_build_windows' into 'master'
mbedtls: disable files generation, specify Python interpreter to use See merge request espressif/esp-idf!17351
This commit is contained in:
@@ -61,6 +61,13 @@ endif()
|
|||||||
set(ENABLE_TESTING CACHE BOOL OFF)
|
set(ENABLE_TESTING CACHE BOOL OFF)
|
||||||
set(ENABLE_PROGRAMS CACHE BOOL OFF)
|
set(ENABLE_PROGRAMS CACHE BOOL OFF)
|
||||||
|
|
||||||
|
# Use pre-generated source files in mbedtls repository
|
||||||
|
set(GEN_FILES CACHE BOOL OFF)
|
||||||
|
|
||||||
|
# Make sure mbedtls finds the same Python interpreter as IDF uses
|
||||||
|
idf_build_get_property(python PYTHON)
|
||||||
|
set(Python3_EXECUTABLE ${python})
|
||||||
|
|
||||||
# Needed to for include_next includes to work from within mbedtls
|
# Needed to for include_next includes to work from within mbedtls
|
||||||
include_directories("${COMPONENT_DIR}/port/include")
|
include_directories("${COMPONENT_DIR}/port/include")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user