From 4931345a114f9a5abeb74472ba85e73e9015956c Mon Sep 17 00:00:00 2001 From: Maverick Date: Wed, 27 Jan 2016 14:56:56 +0100 Subject: [PATCH] compile cguittfont statically - rpm's cmake macros have BUILD_SHARED_LIBS ON by default which results in "libcuittfont.so not found" when compiled with system freetype --- src/cguittfont/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cguittfont/CMakeLists.txt b/src/cguittfont/CMakeLists.txt index 21448ec..fdea7a2 100644 --- a/src/cguittfont/CMakeLists.txt +++ b/src/cguittfont/CMakeLists.txt @@ -2,7 +2,7 @@ # Do not add CGUITTFont.cpp to the line below. # xCGUITTFont.cpp is a wrapper file that includes # additional required headers. -add_library(cguittfont xCGUITTFont.cpp) +add_library(cguittfont STATIC xCGUITTFont.cpp) if(FREETYPE_PKGCONFIG_FOUND) set_target_properties(cguittfont