diff options
author | Ferdinand Thiessen <rpm@fthiessen.de> | 2015-12-03 21:34:46 +0100 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-12-03 21:35:22 +0100 |
commit | d8975eabf95fac1881f75ab149d0cebeff3d10f3 (patch) | |
tree | da37b02ddcdf70b2682e44f38a61022ca66912ce | |
parent | 89168a7ec8fe31715a4ca321a6e0ccb2d4972257 (diff) | |
download | minetest-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.txt | 2 |
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 |