Skip to content

Commit

Permalink
Enable SSL support for tools too.
Browse files Browse the repository at this point in the history
In tools/common.c `#ifdef WITH_SSL` is used but never defined if SSL support is
desired.
  • Loading branch information
fladi committed Oct 17, 2014
1 parent 35b63cf commit e1746f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e1746f9

Please sign in to comment.