Fix build if BUILD_SHARED_LIBS defaults to "ON"

openSUSE sets that option to ON.

Fixes #3420.
This commit is contained in:
Ferdinand Thiessen 2015-12-03 21:34:46 +01:00 committed by est31
parent 89168a7ec8
commit d8975eabf9

@ -2,7 +2,7 @@
# Do not add CGUITTFont.cpp to the line below. # Do not add CGUITTFont.cpp to the line below.
# xCGUITTFont.cpp is a wrapper file that includes # xCGUITTFont.cpp is a wrapper file that includes
# additional required headers. # additional required headers.
add_library(cguittfont xCGUITTFont.cpp) add_library(cguittfont STATIC xCGUITTFont.cpp)
if(FREETYPE_PKGCONFIG_FOUND) if(FREETYPE_PKGCONFIG_FOUND)
set_target_properties(cguittfont set_target_properties(cguittfont