From: Perttu Ahola Date: Sat, 8 Jan 2011 16:24:32 +0000 (+0200) Subject: more linker parameters X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=769a86be1930d9318fb600a56e6506072baa0523;p=zefram%2Fminetest%2Fminetest_engine.git more linker parameters --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6aed1543..f5c3ed93 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)