From 2cf546accd638d05135efe00631d0bd4ab6931e1 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Mon, 5 May 2014 18:23:55 -0400 Subject: [PATCH] Fix #150 --- tests/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index aef5124c9..aba365486 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -32,9 +32,9 @@ IF(UNIX) TARGET_LINK_LIBRARIES(tests "${CMAKE_DL_LIBS}") TARGET_LINK_LIBRARIES(tests "z") TARGET_LINK_LIBRARIES(tests "m") - IF(NOT DARWIN) - TARGET_LINK_LIBRARIES(loginserver "rt") - ENDIF(NOT DARWIN) + IF(NOT DARWIN) + TARGET_LINK_LIBRARIES(tests "rt") + ENDIF(NOT DARWIN) TARGET_LINK_LIBRARIES(tests "pthread") ADD_DEFINITIONS(-fPIC) ENDIF(UNIX)