This is an automated email from the ASF dual-hosted git repository.
xiaoxiang 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 6bd593459 examples/elf: fix cmake build error
6bd593459 is described below
commit 6bd593459c4af3cef325c3d22bccd5537a8ed755
Author: xuxingliang <[email protected]>
AuthorDate: Fri Jan 31 20:12:11 2025 +0800
examples/elf: fix cmake build error
CMake Error at cmake/nuttx_parse_function_args.cmake:76 (message):
: unparsed INCLUDES;/home/neo/projects/nuttx/apps/examples/elf
Call Stack (most recent call first):
cmake/nuttx_add_application.cmake:77 (nuttx_parse_function_args)
/home/neo/projects/nuttx/apps/examples/elf/CMakeLists.txt:24
(nuttx_add_application)
Signed-off-by: xuxingliang <[email protected]>
---
examples/elf/CMakeLists.txt | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/examples/elf/CMakeLists.txt b/examples/elf/CMakeLists.txt
index 341fc4b53..3ca9eeb4b 100644
--- a/examples/elf/CMakeLists.txt
+++ b/examples/elf/CMakeLists.txt
@@ -21,8 +21,7 @@
#
##############################################################################
if(CONFIG_EXAMPLES_ELF)
- nuttx_add_application(NAME elf INCLUDES ${CMAKE_CURRENT_SOURCE_DIR} SRCS
- elf_main.c)
+ nuttx_add_application(NAME elf SRCS elf_main.c)
# TODO: tests