From e1746f92585d59364fc48b6305ce25d7fc86c2a4 Mon Sep 17 00:00:00 2001 From: Michael Fladischer Date: Fri, 17 Oct 2014 08:17:47 +0200 Subject: Enable SSL support for tools too. In tools/common.c `#ifdef WITH_SSL` is used but never defined if SSL support is desired. --- tools/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index f9b899a..52e3464 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -72,6 +72,10 @@ if (BUILD_TOOLS_DOCS) endif(XMLTO_FOUND) endif() +if (ENABLE_SSL_SUPPORT) + add_definitions(-DWITH_SSL=1) +endif() + install(TARGETS amqp-publish amqp-get amqp-consume amqp-declare-queue amqp-delete-queue RUNTIME DESTINATION bin LIBRARY DESTINATION lib -- cgit v1.2.1