new/buildroot/package/lvgl/lv_drivers/0001-CMakeLists.txt-Build-shared-library.patch
2025-05-10 21:58:58 +08:00

27 lines
863 B
Diff

From ac863fc08015c5e4b5c4abed497dcdaf77113bb7 Mon Sep 17 00:00:00 2001
From: Jiajian Wu <jair.wu@rock-chips.com>
Date: Tue, 27 Sep 2022 16:11:41 +0800
Subject: [PATCH 1/6] CMakeLists.txt: Build shared library
Signed-off-by: Jiajian Wu <jair.wu@rock-chips.com>
---
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