more linker parameters
parent
d90a183b01
commit
769a86be19
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue