From ec2109108022a8c9c04b936f27bd1b37c13e47b4 Mon Sep 17 00:00:00 2001 From: tilsche Date: Mon, 12 Mar 2018 10:46:32 +0100 Subject: [PATCH] Make sure ssl files are included in the library and add missing libraries for linking the examples --- examples/CMakeLists.txt | 6 +++--- src/linux_tcp/CMakeLists.txt | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index beee70e..edf6358 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -8,7 +8,7 @@ add_executable(amqpcpp_boost_example libboostasio.cpp) add_dependencies(amqpcpp_boost_example amqpcpp) -target_link_libraries(amqpcpp_boost_example amqpcpp boost_system pthread) +target_link_libraries(amqpcpp_boost_example amqpcpp boost_system pthread dl ssl) ################################### # Libev @@ -18,7 +18,7 @@ add_executable(amqpcpp_libev_example libev.cpp) add_dependencies(amqpcpp_libev_example amqpcpp) -target_link_libraries(amqpcpp_libev_example amqpcpp ev pthread) +target_link_libraries(amqpcpp_libev_example amqpcpp ev pthread dl ssl) ################################### @@ -29,4 +29,4 @@ add_executable(amqpcpp_libuv_example libuv.cpp) add_dependencies(amqpcpp_libuv_example amqpcpp) -target_link_libraries(amqpcpp_libuv_example amqpcpp uv pthread) \ No newline at end of file +target_link_libraries(amqpcpp_libuv_example amqpcpp uv pthread dl ssl) diff --git a/src/linux_tcp/CMakeLists.txt b/src/linux_tcp/CMakeLists.txt index 55d0e16..55e04c9 100644 --- a/src/linux_tcp/CMakeLists.txt +++ b/src/linux_tcp/CMakeLists.txt @@ -1,7 +1,13 @@ add_sources( addressinfo.h includes.h + openssl.cpp + openssl.h pipe.h + sslconnected.h + sslcontext.h + sslhandshake.h + sslwrapper.h tcpclosed.h tcpconnected.h tcpconnection.cpp