This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit 7a8ce88ed48e317772c25deea995b73f776db91e Author: Junbo Zheng <[email protected]> AuthorDate: Sat Sep 12 11:36:33 2026 +0800 cmake: fix missing '$' in luamod dir existence guard The guard tested the literal string "{LUAMOD_DIR}" instead of the expanded path, so it never short-circuited and file(MAKE_DIRECTORY) ran on every configure. Add the missing '$' so the guard checks the intended path. Assisted-by: Claude Code (glm-5.3) <[email protected]> Signed-off-by: Junbo Zheng <[email protected]> --- cmake/nuttx_add_luamod.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/nuttx_add_luamod.cmake b/cmake/nuttx_add_luamod.cmake index e40e29d1d..e0daa90b4 100644 --- a/cmake/nuttx_add_luamod.cmake +++ b/cmake/nuttx_add_luamod.cmake @@ -22,7 +22,7 @@ set(LUAMOD_DIR ${NUTTX_BINARY_DIR}/luamod) -if(NOT EXISTS {LUAMOD_DIR}) +if(NOT EXISTS ${LUAMOD_DIR}) file(MAKE_DIRECTORY ${LUAMOD_DIR}) endif()
