This is an automated email from the ASF dual-hosted git repository.
simbit18 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 1f825a5cc examples/mqttc: Fix publisher program name in CMake build.
1f825a5cc is described below
commit 1f825a5cc8df06ab188467f6a5b88ed6921dd1be
Author: raiden00pl <[email protected]>
AuthorDate: Sat Oct 10 15:20:36 2026 +0200
examples/mqttc: Fix publisher program name in CMake build.
CMakeLists.txt named the publisher CONFIG_EXAMPLES_MQTTC_PUB_PROGNAME,
which Kconfig does not define (the option is EXAMPLES_MQTTC_PROGNAME,
as used by the Makefile). The CMake build therefore registered no
mqttc_pub builtin. Use the Kconfig name.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: raiden00pl <[email protected]>
---
examples/mqttc/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/mqttc/CMakeLists.txt b/examples/mqttc/CMakeLists.txt
index 6e4ee010a..3794bbd99 100644
--- a/examples/mqttc/CMakeLists.txt
+++ b/examples/mqttc/CMakeLists.txt
@@ -23,7 +23,7 @@
if(CONFIG_EXAMPLES_MQTTC)
nuttx_add_application(
NAME
- ${CONFIG_EXAMPLES_MQTTC_PUB_PROGNAME}
+ ${CONFIG_EXAMPLES_MQTTC_PROGNAME}
STACKSIZE
${CONFIG_EXAMPLES_MQTTC_STACKSIZE}
MODULE