megaglest/megaglest-3.9.0.4-link-libX11.patch

22 lines
799 B
Diff
Raw Permalink Normal View History

--- megaglest-3.9.0/source/glest_game/CMakeLists.txt.orig 2015-03-22 16:16:15.457047179 +0100
+++ megaglest-3.9.0/source/glest_game/CMakeLists.txt 2015-03-22 16:13:20.294074647 +0100
@@ -1,7 +1,7 @@
#########################################################################################
# common libraries
-SET(EXTERNAL_LIBS "")
+SET(EXTERNAL_LIBS "-lX11")
SET(TARGET_NAME "megaglest")
SET(TARGET_NAME_MANPAGE "${TARGET_NAME}.6")
--- megaglest-3.9.0/source/g3d_viewer/CMakeLists.txt.orig 2015-03-22 16:16:26.301045478 +0100
+++ megaglest-3.9.0/source/g3d_viewer/CMakeLists.txt 2015-03-22 16:15:10.080057431 +0100
@@ -1,6 +1,6 @@
# common libraries
-SET(EXTERNAL_LIBS "")
+SET(EXTERNAL_LIBS "-lX11")
SET(TARGET_NAME "megaglest_g3dviewer")
SET(TARGET_NAME_MANPAGE "${TARGET_NAME}.6")