diff options
author | Michael Fladischer <FladischerMichael@fladi.at> | 2014-10-17 08:17:47 +0200 |
---|---|---|
committer | Michael Fladischer <FladischerMichael@fladi.at> | 2014-10-17 08:17:47 +0200 |
commit | e1746f92585d59364fc48b6305ce25d7fc86c2a4 (patch) | |
tree | 4ab65cf96ac509b31385d7d37f7e8133f633e507 | |
parent | 35b63cff12eda35f06e3fec0d4bd3ca341d9a4ea (diff) | |
download | rabbitmq-c-e1746f92585d59364fc48b6305ce25d7fc86c2a4.tar.gz |
Enable SSL support for tools too.
In tools/common.c `#ifdef WITH_SSL` is used but never defined if SSL support is
desired.
-rw-r--r-- | tools/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
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 |