akalend / amqpcpp

rabbitcpp is a C++ library for Message Queue Server RabbitMQ
MIT License
228 stars 142 forks source link

Link to the OpenSSL libraries in a portable way #98

Open SebDieBln opened 2 years ago

SebDieBln commented 2 years ago

On Windows you need to specify the exact location of the libraries to link to. Therefore linking to ssl crypto fails. The fix proposed in this PR is to use the respective platform independent CMake-variable ${OPENSSL_LIBRARIES}.

SebDieBln commented 2 years ago

Note that there will be a conflict with #96 but I will be happy to resolve it once either of the PRs is merged.