mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Fix build if BUILD_SHARED_LIBS defaults to "ON"
openSUSE sets that option to ON. Fixes #3420.
This commit is contained in:
parent
89168a7ec8
commit
d8975eabf9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user