ESP32-OTA-HTTPS/main/CMakeLists.txt

6 lines
267 B
CMake

# Embed the server root certificate into the final binary
idf_build_get_property(project_dir PROJECT_DIR)
idf_component_register(SRCS "esp32_ota_https.c"
INCLUDE_DIRS "."
EMBED_TXTFILES ${project_dir}/server_certs/ca_cert.pem)