From ac863fc08015c5e4b5c4abed497dcdaf77113bb7 Mon Sep 17 00:00:00 2001 From: Jiajian Wu Date: Tue, 27 Sep 2022 16:11:41 +0800 Subject: [PATCH 1/6] CMakeLists.txt: Build shared library Signed-off-by: Jiajian Wu --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fadccaa..efb0b0b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.12.4) project(lv_drivers HOMEPAGE_URL https://github.com/lvgl/lv_drivers/) # Option to build as shared library (as opposed to static), default: OFF -option(BUILD_SHARED_LIBS "Build shared as library (as opposed to static)" OFF) +option(BUILD_SHARED_LIBS "Build shared as library (as opposed to static)" ON) file(GLOB_RECURSE SOURCES ./*.c) -- 2.25.1