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 61e0ea0824d4c59d1ac9f23db3b122363867156f Author: Junbo Zheng <[email protected]> AuthorDate: Sat Sep 12 11:36:33 2026 +0800 cmake: fix missing '$' in wamrmod dir existence guard The guard tested the literal string "{WAMR_MODULE_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_wamrmod.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/nuttx_add_wamrmod.cmake b/cmake/nuttx_add_wamrmod.cmake index d95b168cc..c161089c9 100644 --- a/cmake/nuttx_add_wamrmod.cmake +++ b/cmake/nuttx_add_wamrmod.cmake @@ -22,7 +22,7 @@ set(WAMR_MODULE_DIR ${NUTTX_BINARY_DIR}/wamrmod) -if(NOT EXISTS {WAMR_MODULE_DIR}) +if(NOT EXISTS ${WAMR_MODULE_DIR}) file(MAKE_DIRECTORY ${WAMR_MODULE_DIR}) endif()
