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:
parent
501d8b55ab
commit
164c51cb2e
@ -94,7 +94,7 @@ file(GLOB TINYGETTEXT_HEADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} include/tinyg
|
|||||||
|
|
||||||
## define a target for building the library
|
## define a target for building the library
|
||||||
|
|
||||||
add_library(tinygettext ${TINYGETTEXT_SOURCES})
|
add_library(tinygettext STATIC ${TINYGETTEXT_SOURCES})
|
||||||
|
|
||||||
## Add tinygettext dir to search path
|
## Add tinygettext dir to search path
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user