aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerdinand Thiessen <rpm@fthiessen.de>2015-12-03 21:34:46 +0100
committerest31 <MTest31@outlook.com>2015-12-03 21:35:22 +0100
commitd8975eabf95fac1881f75ab149d0cebeff3d10f3 (patch)
treeda37b02ddcdf70b2682e44f38a61022ca66912ce
parent89168a7ec8fe31715a4ca321a6e0ccb2d4972257 (diff)
downloadminetest-d8975eabf95fac1881f75ab149d0cebeff3d10f3.tar.gz
minetest-d8975eabf95fac1881f75ab149d0cebeff3d10f3.tar.bz2
minetest-d8975eabf95fac1881f75ab149d0cebeff3d10f3.zip
Fix build if BUILD_SHARED_LIBS defaults to "ON"
openSUSE sets that option to ON. Fixes #3420.
-rw-r--r--src/cguittfont/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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