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
This commit is contained in:
Maverick 2016-01-27 14:56:56 +01:00
parent 9cf5666177
commit 4931345a11
1 changed files with 1 additions and 1 deletions

View File

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