diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f9d82570..0a65216f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,5 +60,8 @@ zephyr_library_sources(${SOURCES}) endif() # CONFIG_LVGL else() -message(FATAL_ERROR "Unknown platform.") + +file(GLOB_RECURSE SOURCES src/*.c) +add_library(lvgl STATIC ${SOURCES}) + endif()