Make sure ssl files are included in the library and add missing libraries for linking the examples
This commit is contained in:
parent
f1c32242f7
commit
ec21091080
|
|
@ -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)
|
||||
target_link_libraries(amqpcpp_libuv_example amqpcpp uv pthread dl ssl)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue