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.git
commit bca7d17a1d08115a84bf1279bba8dcf74c768841 Author: xuxin19 <[email protected]> AuthorDate: Wed Dec 18 15:21:02 2024 +0800 cmake(enhance):make CMake extensions include path inherit PUBLIC since we imply nuttx_link_libraries, nuttx_lib target can inherit include path Signed-off-by: xuxin19 <[email protected]> --- cmake/nuttx_extensions.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/nuttx_extensions.cmake b/cmake/nuttx_extensions.cmake index 9eeb1164a5a..c10b97b5848 100644 --- a/cmake/nuttx_extensions.cmake +++ b/cmake/nuttx_extensions.cmake @@ -153,7 +153,7 @@ endfunction() # Usage: nuttx_include_directories("include/path1" "include/path2") function(nuttx_include_directories) if(TARGET ${NX_CURRENT_LIBRARY}) - target_include_directories(${NX_CURRENT_LIBRARY} PRIVATE ${ARGN}) + target_include_directories(${NX_CURRENT_LIBRARY} PUBLIC ${ARGN}) endif() endfunction()
