1if(CONFIG_LVGL)
2
3  zephyr_include_directories(${ZEPHYR_BASE}/lib/gui/lvgl)
4
5  target_include_directories(lvgl INTERFACE ${LVGL_ROOT_DIR})
6
7  zephyr_compile_definitions(LV_CONF_KCONFIG_EXTERNAL_INCLUDE=<autoconf.h>)
8
9  zephyr_library()
10
11  file(GLOB_RECURSE SOURCES ${LVGL_ROOT_DIR}/src/*.c)
12  zephyr_library_sources(${SOURCES})
13
14endif(CONFIG_LVGL)
15