From 769a86be1930d9318fb600a56e6506072baa0523 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 8 Jan 2011 18:24:32 +0200 Subject: [PATCH] more linker parameters --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.30.2