From 164c51cb2eeaa7343c1cbd6a346ad27439a16516 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 7 Oct 2021 00:52:32 +0200 Subject: [PATCH] Always build tinygettext as a static library Explicitly pass STATIC to tinygettext add_library() call to make sure it's always built as static, even when distro's cmake is configured to build libs shared by default. --- lib/tinygettext/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tinygettext/CMakeLists.txt b/lib/tinygettext/CMakeLists.txt index 108339c42..5a67ab425 100644 --- a/lib/tinygettext/CMakeLists.txt +++ b/lib/tinygettext/CMakeLists.txt @@ -94,7 +94,7 @@ file(GLOB TINYGETTEXT_HEADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} include/tinyg ## define a target for building the library -add_library(tinygettext ${TINYGETTEXT_SOURCES}) +add_library(tinygettext STATIC ${TINYGETTEXT_SOURCES}) ## Add tinygettext dir to search path -- 2.31.1