lvgl/cmake: export lvgl header
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
This commit is contained in:
parent
5165ad8422
commit
9bffd840b9
@ -114,6 +114,9 @@ if(CONFIG_GRAPHICS_LVGL)
|
||||
nuttx_add_dependencies(TARGET lvgl DEPENDS turbojpeg-static)
|
||||
endif()
|
||||
|
||||
# allow to include via lvgl/lvgl.h
|
||||
target_include_directories(lvgl PUBLIC ${CMAKE_CURRENT_LIST_DIR})
|
||||
set_property(
|
||||
TARGET nuttx
|
||||
APPEND
|
||||
PROPERTY NUTTX_INCLUDE_DIRECTORIES ${CMAKE_CURRENT_LIST_DIR}
|
||||
${CMAKE_CURRENT_LIST_DIR}/lvgl)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user