mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-06 13:18:07 +00:00

Moved the httpd_async request from cert_pem to esp_crt_bundle. As cert_pem is alredy tested for howmyssl URL
14 lines
547 B
CMake
14 lines
547 B
CMake
# Embed the server root certificate into the final binary
|
|
#
|
|
# (If this was a component, we would set COMPONENT_EMBED_TXTFILES here.)
|
|
set(requires esp-tls nvs_flash esp_event esp_netif esp_http_client)
|
|
idf_build_get_property(target IDF_TARGET)
|
|
|
|
if(${target} STREQUAL "linux")
|
|
list(APPEND requires esp_stubs protocol_examples_common)
|
|
endif()
|
|
idf_component_register(SRCS "esp_http_client_example.c"
|
|
INCLUDE_DIRS "."
|
|
PRIV_REQUIRES ${requires}
|
|
EMBED_TXTFILES howsmyssl_com_root_cert.pem)
|