summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-08-11 19:21:03 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-08-11 19:21:03 +0200
commitfe344be938fb5d4644553a6886f6455fa337ce72 (patch)
tree6985c997b0af85fd16b13e08bc598d59b07761e7 /src
parenta5a567bd18151de76ac62f41c3d54c285deb92b9 (diff)
downloadfastd-fe344be938fb5d4644553a6886f6455fa337ce72.tar
fastd-fe344be938fb5d4644553a6886f6455fa337ce72.zip
Only link with librt when necessary
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index aed5b24..10e5656 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -39,7 +39,7 @@ add_executable(fastd
${METHODS}
)
set_target_properties(fastd PROPERTIES COMPILE_FLAGS -pthread ${UECC_CFLAGS_OTHER} COMPILE_DEFINITIONS _GNU_SOURCE LINK_FLAGS -pthread ${UECC_LDFLAGS_OTHER})
-target_link_libraries(fastd rt ${CAP_LIBRARY} ${UECC_LIBRARIES} ${NACL_LIBRARY})
+target_link_libraries(fastd ${RT_LIBRARY} ${CAP_LIBRARY} ${UECC_LIBRARIES} ${NACL_LIBRARY})
add_custom_target(
version