Make sure ssl files are included in the library and add missing libraries for linking the examples

This commit is contained in:
tilsche 2018-03-12 10:46:32 +01:00
parent f1c32242f7
commit ec21091080
2 changed files with 9 additions and 3 deletions

View File

@ -8,7 +8,7 @@ add_executable(amqpcpp_boost_example libboostasio.cpp)
add_dependencies(amqpcpp_boost_example amqpcpp) 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 # Libev
@ -18,7 +18,7 @@ add_executable(amqpcpp_libev_example libev.cpp)
add_dependencies(amqpcpp_libev_example amqpcpp) 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) add_dependencies(amqpcpp_libuv_example amqpcpp)
target_link_libraries(amqpcpp_libuv_example amqpcpp uv pthread) target_link_libraries(amqpcpp_libuv_example amqpcpp uv pthread dl ssl)

View File

@ -1,7 +1,13 @@
add_sources( add_sources(
addressinfo.h addressinfo.h
includes.h includes.h
openssl.cpp
openssl.h
pipe.h pipe.h
sslconnected.h
sslcontext.h
sslhandshake.h
sslwrapper.h
tcpclosed.h tcpclosed.h
tcpconnected.h tcpconnected.h
tcpconnection.cpp tcpconnection.cpp