summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlan Antonuk <aega@med.umich.edu>2012-10-02 12:03:01 -0400
committerAlan Antonuk <alan.antonuk@gmail.com>2012-11-14 22:46:33 -0500
commit433b8e00ec8842bc5520eb92614d415512b9bec5 (patch)
tree9b01ea452a68f5cb4b10412faf0cb9c3e5f36ab2 /tests
parent6aa5779d74353f03e56d0c5079885ec2535011a8 (diff)
downloadrabbitmq-c-github-ask-433b8e00ec8842bc5520eb92614d415512b9bec5.tar.gz
CMake: build both static and shared libs in one build
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 69ff32d..4b54003 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -8,10 +8,10 @@ if (MSVC)
endif (MSVC)
add_executable(test_parse_url test_parse_url.c)
-target_link_libraries(test_parse_url rabbitmq)
+target_link_libraries(test_parse_url ${RMQ_LIBRARY_TARGET})
add_test(parse_url test_parse_url)
add_executable(test_tables test_tables.c)
-target_link_libraries(test_tables rabbitmq)
+target_link_libraries(test_tables ${RMQ_LIBRARY_TARGET})
add_test(tables test_tables)
configure_file(test_tables.expected ${CMAKE_CURRENT_BINARY_DIR}/tests/test_tables.expected COPY_ONLY)