From e7b3781c3e5c105fcd80a75546b9ab75eae8a2c9 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 31 Jul 2013 21:45:00 +0200 Subject: [SERVER] Uplink handing complete (untested, as alt servers can't be defined yet, so prepare for lots of fixes ;)) --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b4b43d..596fa43 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,6 +47,9 @@ TARGET_LINK_LIBRARIES(dnbd3-client) FILE(GLOB_RECURSE SERVER_SRCS src/server/*.c) ADD_EXECUTABLE(dnbd3-server ${SERVER_SRCS}) TARGET_LINK_LIBRARIES(dnbd3-server ${CMAKE_THREAD_LIBS_INIT} ${ZLIB_LIBRARIES}) +if(UNIX AND NOT APPLE) + target_link_libraries(dnbd3-server rt) +endif() -- cgit v1.2.3-55-g7522