This PR adds the ability to compile without SSL. rabbitmq-c already has that ability, but until now compiling it without SSL lead to errors because amqpcpp always expected it to be compiled with SSL.
Since we now use the same cmake variable as in rabbitmq-c both libraries are always compiled in the same way.
An exception is raised in case the user requests a SSL connection from a library that is compiled without SSL support.
This PR adds the ability to compile without SSL.
rabbitmq-c
already has that ability, but until now compiling it without SSL lead to errors becauseamqpcpp
always expected it to be compiled with SSL.Since we now use the same cmake variable as in
rabbitmq-c
both libraries are always compiled in the same way.An exception is raised in case the user requests a SSL connection from a library that is compiled without SSL support.