1
0
Fork 0

more linker parameters

mutilcraft-mt53
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) endif(BUILD_CLIENT)
find_package(ZLIB REQUIRED) find_package(ZLIB REQUIRED)
set(PLATFORM_LIBS -lpthread) set(PLATFORM_LIBS -lpthread)
set(CLIENT_PLATFORM_LIBS -lXxf86vm)
elseif(WIN32) elseif(WIN32)
# Windows # Windows
# Surpress some warnings # Surpress some warnings
@ -117,6 +118,7 @@ if(BUILD_CLIENT)
${X11_LIBRARIES} ${X11_LIBRARIES}
jthread jthread
${PLATFORM_LIBS} ${PLATFORM_LIBS}
${CLIENT_PLATFORM_LIBS}
) )
endif(BUILD_CLIENT) endif(BUILD_CLIENT)
if(BUILD_SERVER) if(BUILD_SERVER)