diff options
author | Rider Linden <none@none> | 2015-04-02 16:26:08 -0700 |
---|---|---|
committer | Rider Linden <none@none> | 2015-04-02 16:26:08 -0700 |
commit | d1db1440802fdd435c58f64ebb0060cab971b16b (patch) | |
tree | 9c319762af93140268eea46d244a105b348a49da | |
parent | bd69aa7be2aa23c991278c80f1ad6a339a541ff9 (diff) |
Explicitly call out the RT library for tests in Linux
-rwxr-xr-x | indra/newview/CMakeLists.txt | 8 |
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} |