Skip to content

Instantly share code, notes, and snippets.

@susnux
Created December 2, 2015 23:39
Show Gist options
  • Save susnux/6bcc5791a32d25fa46c9 to your computer and use it in GitHub Desktop.
Save susnux/6bcc5791a32d25fa46c9 to your computer and use it in GitHub Desktop.
Minetest: Fix dependency on non existing libcguittfont
diff -Nur minetest-0.4.13/src/cguittfont/CMakeLists.txt minetest-0.4.13-new/src/cguittfont/CMakeLists.txt
--- minetest-0.4.13/src/cguittfont/CMakeLists.txt 2015-08-20 04:02:00.000000000 +0200
+++ minetest-0.4.13-new/src/cguittfont/CMakeLists.txt 2015-12-02 23:20:17.851597872 +0100
@@ -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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment