From dfeb06f99f0cf1d7243d43194fe1aa4d00936fa4 Mon Sep 17 00:00:00 2001 From: "Hossein.M" Date: Tue, 12 Nov 2024 09:58:07 +0330 Subject: [PATCH] fix: fix build failure when project name is not mqtt_ssl fixes: #14870 Closes https://github.com/espressif/esp-idf/pull/14871 --- examples/protocols/mqtt/ssl/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/protocols/mqtt/ssl/CMakeLists.txt b/examples/protocols/mqtt/ssl/CMakeLists.txt index 699c86d..e41e1b8 100644 --- a/examples/protocols/mqtt/ssl/CMakeLists.txt +++ b/examples/protocols/mqtt/ssl/CMakeLists.txt @@ -8,4 +8,4 @@ include($ENV{IDF_PATH}/tools/cmake/project.cmake) idf_build_set_property(MINIMAL_BUILD ON) project(mqtt_ssl) -target_add_binary_data(mqtt_ssl.elf "main/mqtt_eclipseprojects_io.pem" TEXT) +target_add_binary_data(${PROJECT_NAME}.elf "main/mqtt_eclipseprojects_io.pem" TEXT)