mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
15 lines
354 B
CMake
15 lines
354 B
CMake
if(CONFIG_LVGL)
|
|
|
|
zephyr_include_directories(${ZEPHYR_BASE}/lib/gui/lvgl)
|
|
|
|
target_include_directories(lvgl INTERFACE ${LVGL_ROOT_DIR})
|
|
|
|
zephyr_compile_definitions(LV_CONF_KCONFIG_EXTERNAL_INCLUDE=<zephyr/autoconf.h>)
|
|
|
|
zephyr_library()
|
|
|
|
file(GLOB_RECURSE SOURCES ${LVGL_ROOT_DIR}/src/*.c)
|
|
zephyr_library_sources(${SOURCES})
|
|
|
|
endif(CONFIG_LVGL)
|