2017-07-20 13:40:34 -07:00
|
|
|
#
|
2017-07-24 09:42:36 -07:00
|
|
|
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
2017-07-20 13:40:34 -07:00
|
|
|
#
|
|
|
|
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
#
|
|
|
|
# Official repository: https://github.com/boostorg/beast
|
|
|
|
#
|
2017-06-18 17:10:38 -07:00
|
|
|
|
2017-10-01 10:33:49 -07:00
|
|
|
if (OPENSSL_FOUND)
|
|
|
|
GroupSources(include/boost/beast beast)
|
|
|
|
GroupSources(example/common common)
|
|
|
|
GroupSources(example/http/client/async-ssl "/")
|
2017-06-18 17:10:38 -07:00
|
|
|
|
2017-10-01 10:33:49 -07:00
|
|
|
add_executable (http-client-async-ssl
|
|
|
|
${BOOST_BEAST_INCLUDES}
|
|
|
|
${PROJECT_SOURCE_DIR}/example/common/root_certificates.hpp
|
|
|
|
Jamfile
|
|
|
|
http_client_async_ssl.cpp
|
2017-06-20 17:16:07 -07:00
|
|
|
)
|
2017-10-01 10:33:49 -07:00
|
|
|
|
|
|
|
target_link_libraries (http-client-async-ssl
|
|
|
|
${OPENSSL_LIBRARIES}
|
|
|
|
)
|
|
|
|
|
|
|
|
endif()
|