Merge branch 'bugfix/pass_esp_platform_to_early_expansion' into 'master'

CMake: Pass ESP_PLATFORM to early expansion

See merge request espressif/esp-idf!5932
This commit is contained in:
Angus Gratton 2019-08-29 10:09:51 +08:00
commit ec3510854f

View file

@ -213,6 +213,7 @@ function(__component_get_requirements)
__component_write_properties(${component_properties_file})
execute_process(COMMAND "${CMAKE_COMMAND}"
-D "ESP_PLATFORM=1"
-D "BUILD_PROPERTIES_FILE=${build_properties_file}"
-D "COMPONENT_PROPERTIES_FILE=${component_properties_file}"
-D "COMPONENT_REQUIRES_FILE=${component_requires_file}"