summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorRider Linden <none@none>2015-04-02 16:26:08 -0700
committerRider Linden <none@none>2015-04-02 16:26:08 -0700
commitd1db1440802fdd435c58f64ebb0060cab971b16b (patch)
tree9c319762af93140268eea46d244a105b348a49da /indra
parentbd69aa7be2aa23c991278c80f1ad6a339a541ff9 (diff)
Explicitly call out the RT library for tests in Linux
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index 7a6bf0a5bf..4fb3537eec 100755
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -2328,8 +2328,16 @@ if (LL_TESTS)
"${CMAKE_SOURCE_DIR}/llmessage/tests/test_llsdmessage_peer.py"
)
+ if (LINUX)
+ # llcommon uses `clock_gettime' which is provided by librt on linux.
+ set(LIBRT_LIBRARY
+ rt
+ )
+ endif (LINUX)
+
set(test_libs
${WINDOWS_LIBRARIES}
+ ${LIBRT_LIBRARY}
${LLVFS_LIBRARIES}
${LLMATH_LIBRARIES}
${LLCOMMON_LIBRARIES}