From d8975eabf95fac1881f75ab149d0cebeff3d10f3 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 3 Dec 2015 21:34:46 +0100 Subject: Fix build if BUILD_SHARED_LIBS defaults to "ON" openSUSE sets that option to ON. Fixes #3420. --- src/cguittfont/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cguittfont/CMakeLists.txt') diff --git a/src/cguittfont/CMakeLists.txt b/src/cguittfont/CMakeLists.txt index 7717a2f91..6cd35f310 100644 --- a/src/cguittfont/CMakeLists.txt +++ b/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 -- cgit v1.2.3