From bc3f8532e46fb9e5fde0b51ae7c936d4d9542410 Mon Sep 17 00:00:00 2001 From: Alan Antonuk Date: Tue, 22 May 2012 12:59:25 -0400 Subject: Adding the amqp-* tools to install target --- tools/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index bdeddaf..52397ae 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -32,3 +32,8 @@ target_link_libraries(amqp-declare-queue rabbitmq ${POPT_LIBRARY}) add_executable(amqp-delete-queue delete_queue.c ${COMMON_SRCS}) target_link_libraries(amqp-delete-queue rabbitmq ${POPT_LIBRARY}) +install(TARGETS amqp-publish amqp-get amqp-consume amqp-declare-queue amqp-delete-queue + RUNTIME DESTINATION bin + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib + PUBLIC_HEADER DESTINATION include) -- cgit v1.2.1