aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-01-08 18:24:32 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-01-08 18:24:32 +0200
commit769a86be1930d9318fb600a56e6506072baa0523 (patch)
tree70c8c97078badbb66002a6c41d5f871d0fd68420 /src
parentd90a183b01042c90c9ea02627f00f585e3083e52 (diff)
downloadminetest-769a86be1930d9318fb600a56e6506072baa0523.tar.gz
minetest-769a86be1930d9318fb600a56e6506072baa0523.tar.bz2
minetest-769a86be1930d9318fb600a56e6506072baa0523.zip
more linker parameters
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6aed1543f..f5c3ed93b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -16,6 +16,7 @@ if(UNIX)
endif(BUILD_CLIENT)
find_package(ZLIB REQUIRED)
set(PLATFORM_LIBS -lpthread)
+ set(CLIENT_PLATFORM_LIBS -lXxf86vm)
elseif(WIN32)
# Windows
# Surpress some warnings
@@ -117,6 +118,7 @@ if(BUILD_CLIENT)
${X11_LIBRARIES}
jthread
${PLATFORM_LIBS}
+ ${CLIENT_PLATFORM_LIBS}
)
endif(BUILD_CLIENT)
if(BUILD_SERVER)