From 0bdcf362ff885fea6c6f2eb23206f4d1e7c67f50 Mon Sep 17 00:00:00 2001 From: Alex Kalmuk Date: Thu, 18 Feb 2021 15:41:54 +0300 Subject: [PATCH] feat(cmake) build a static liblvgl.a library by default (#2079) --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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()