We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a76d17 commit 37bab55Copy full SHA for 37bab55
boot/mcuboot/CMakeLists.txt
@@ -102,9 +102,15 @@ if(CONFIG_BOOT_MCUBOOT)
102
PRIVATE mcuboot/ext/tinycrypt/lib/include)
103
endif()
104
105
- target_include_directories(mcuboot PUBLIC mcuboot/boot/nuttx/include)
106
- target_include_directories(mcuboot PUBLIC mcuboot/boot/bootutil/include)
+ set(INCDIR ${CMAKE_CURRENT_LIST_DIR}/mcuboot/boot/nuttx/include
+ ${CMAKE_CURRENT_LIST_DIR}/mcuboot/boot/bootutil/include)
107
+ target_include_directories(mcuboot PRIVATE ${INCDIR})
108
109
target_compile_options(mcuboot PRIVATE -Wno-undef)
110
target_sources(mcuboot PRIVATE ${SRCS})
111
+
112
+ set_property(
113
+ TARGET nuttx
114
+ APPEND
115
+ PROPERTY NUTTX_INCLUDE_DIRECTORIES ${INCDIR})
116
0 commit comments