Skip to content
Permalink
Browse files

Fix build if BUILD_SHARED_LIBS defaults to "ON"

openSUSE sets that option to ON.

Fixes #3420.
  • Loading branch information...
susnux authored and est31 committed Dec 3, 2015
1 parent 89168a7 commit d8975eabf95fac1881f75ab149d0cebeff3d10f3
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit d8975ea

Please sign in to comment.
You can’t perform that action at this time.