1From ac863fc08015c5e4b5c4abed497dcdaf77113bb7 Mon Sep 17 00:00:00 2001 2From: Jiajian Wu <jair.wu@rock-chips.com> 3Date: Tue, 27 Sep 2022 16:11:41 +0800 4Subject: [PATCH 1/6] CMakeLists.txt: Build shared library 5 6Signed-off-by: Jiajian Wu <jair.wu@rock-chips.com> 7--- 8 CMakeLists.txt | 2 +- 9 1 file changed, 1 insertion(+), 1 deletion(-) 10 11diff --git a/CMakeLists.txt b/CMakeLists.txt 12index fadccaa..efb0b0b 100644 13--- a/CMakeLists.txt 14+++ b/CMakeLists.txt 15@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.12.4) 16 project(lv_drivers HOMEPAGE_URL https://github.com/lvgl/lv_drivers/) 17 18 # Option to build as shared library (as opposed to static), default: OFF 19-option(BUILD_SHARED_LIBS "Build shared as library (as opposed to static)" OFF) 20+option(BUILD_SHARED_LIBS "Build shared as library (as opposed to static)" ON) 21 22 file(GLOB_RECURSE SOURCES ./*.c) 23 24-- 252.25.1 26 27