more linker parameters

master
Perttu Ahola 2011-01-08 18:24:32 +02:00
parent d90a183b01
commit 769a86be19
1 changed files with 2 additions and 0 deletions

View File

@ -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)