From e8ba2d798350a9a94491b632ed93e8cebd2ac710 Mon Sep 17 00:00:00 2001 From: Chukobyte Date: Sun, 31 Mar 2024 20:23:26 -0400 Subject: [PATCH] Fixing freetype static lib. --- Dependencies.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dependencies.cmake b/Dependencies.cmake index 4ea25e9..4b7bb20 100644 --- a/Dependencies.cmake +++ b/Dependencies.cmake @@ -81,7 +81,9 @@ endif() # https://github.com/freetype/freetype if (NOT TARGET freetype) - set(BUILD_SHARED_LIBS NOT ${SEIKA_STATIC_LIB}) + if (NOT SEIKA_STATIC_LIB) + set(BUILD_SHARED_LIBS ON) + endif () FetchContent_Declare( freetype_content