Skip to content

Commit

Permalink
Fix build if BUILD_SHARED_LIBS defaults to "ON"
Browse files Browse the repository at this point in the history
openSUSE sets that option to ON.

Fixes #3420.
  • Loading branch information
susnux authored and est31 committed Dec 3, 2015
1 parent 89168a7 commit d8975ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cguittfont/CMakeLists.txt
Expand Up @@ -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
Expand Down

0 comments on commit d8975ea

Please sign in to comment.