mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
cmake(bugfix):Add BEFORE the inc path of the apps and library
Because we expect private configuration to always OVERRIDE public configuration Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
This commit is contained in:
parent
2740e40ee7
commit
4162e01a22
1 changed files with 1 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ function(nuttx_add_application)
|
|||
|
||||
if(INCLUDE_DIRECTORIES)
|
||||
foreach(inc ${INCLUDE_DIRECTORIES})
|
||||
target_include_directories(${TARGET} PRIVATE ${inc})
|
||||
target_include_directories(${TARGET} BEFORE PRIVATE ${inc})
|
||||
endforeach()
|
||||
endif()
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue