Skip to content

Commit

Permalink
cmake(bugfix):add INCLUDE_DIRECTORIES for nimble
Browse files Browse the repository at this point in the history
  • Loading branch information
xuxin930 authored and xiaoxiang781216 committed Dec 23, 2024
1 parent 42a1377 commit e08629a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions examples/nimble/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@

if(CONFIG_EXAMPLES_NIMBLE)
nuttx_add_application(
NAME nimble
SRCS ${CMAKE_CURRENT_LIST_DIR}/nimble_main.c
DEPENDS nimble)
NAME
nimble
SRCS
${CMAKE_CURRENT_LIST_DIR}/nimble_main.c
INCLUDE_DIRECTORIES
$<GENEX_EVAL:$<TARGET_PROPERTY:nimble,INCLUDE_DIRECTORIES>>
DEPENDS
nimble)
endif()

0 comments on commit e08629a

Please sign in to comment.