Skip to content

Commit 6bd5934

Browse files
XuNeoxiaoxiang781216
authored andcommitted
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]>
1 parent c3247ec commit 6bd5934

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/elf/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
# ##############################################################################
2222

2323
if(CONFIG_EXAMPLES_ELF)
24-
nuttx_add_application(NAME elf INCLUDES ${CMAKE_CURRENT_SOURCE_DIR} SRCS
25-
elf_main.c)
24+
nuttx_add_application(NAME elf SRCS elf_main.c)
2625

2726
# TODO: tests
2827

0 commit comments

Comments
 (0)