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.
This commit is contained in:
Kalev Lember 2021-10-07 00:52:32 +02:00
parent 501d8b55ab
commit 164c51cb2e

View File

@ -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