forked from oerkki/voxelands
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:
parent
9cf5666177
commit
4931345a11
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue