summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2013-10-15 16:05:54 +0000
committerGordon Sim <gsim@apache.org>2013-10-15 16:05:54 +0000
commitf929f33296913491eef6a35804d3e5ab62c5d581 (patch)
treea05022b165f05ebe111871f5ac6f5f7aa3342d92 /qpid/cpp/src/tests
parent0bea8c7b120b6b908f24e343a557b0491e3d85b3 (diff)
downloadqpid-python-f929f33296913491eef6a35804d3e5ab62c5d581.tar.gz
QPID-4582, QPID-5215: fix linking errors for clock_gettime
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1532408 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests')
-rw-r--r--qpid/cpp/src/tests/legacystore/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/src/tests/legacystore/CMakeLists.txt b/qpid/cpp/src/tests/legacystore/CMakeLists.txt
index 38cf637fe4..0dec2caab8 100644
--- a/qpid/cpp/src/tests/legacystore/CMakeLists.txt
+++ b/qpid/cpp/src/tests/legacystore/CMakeLists.txt
@@ -106,7 +106,7 @@ add_executable (${testname}
${platform_test_additions})
target_link_libraries (${testname}
${qpid_test_boost_libs}
- legacystore_shared)
+ ${clock_gettime_LIB} legacystore_shared)
if ("${ARGV1}" STREQUAL "LONG")
set_target_properties(${testname} PROPERTIES COMPILE_DEFINITIONS LONG_TEST)
endif ()
@@ -148,7 +148,7 @@ add_executable(jtt
target_link_libraries (jtt
${Boost_PROGRAM_OPTIONS_LIBRARY}
- legacystore_shared)
+ ${clock_gettime_LIB} legacystore_shared)
add_test(journal_jtt ${CMAKE_CURRENT_BINARY_DIR}/jtt -c ${CMAKE_CURRENT_SOURCE_DIR}/jrnl/jtt/jtt.csv)
@@ -175,7 +175,7 @@ add_executable (jtt__ut
target_link_libraries (jtt__ut
${qpid_test_boost_libs}
${Boost_PROGRAM_OPTIONS_LIBRARY}
- legacystore_shared)
+ ${clock_gettime_LIB} legacystore_shared)
add_test(NAME journal_jtt_ut WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/jrnl/jtt COMMAND ${CMAKE_CURRENT_BINARY_DIR}/jtt__ut)