init Files
This commit is contained in:
15
libraries/lvgl/env_support/cmake/zephyr.cmake
Normal file
15
libraries/lvgl/env_support/cmake/zephyr.cmake
Normal file
@@ -0,0 +1,15 @@
|
||||
if(CONFIG_LVGL)
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/version.cmake")
|
||||
|
||||
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)
|
||||
Reference in New Issue
Block a user