summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/beast/example/http/client/coro-ssl/CMakeLists.txt
blob: 54fe3ae25d4b1f644aa7a76b4725fbdb1f66e86f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
#
# 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
#

if (OPENSSL_FOUND)
    GroupSources(include/boost/beast beast)
    GroupSources(example/common common)
    GroupSources(example/http/client/coro-ssl "/")

    add_executable (http-client-coro-ssl
        ${BOOST_BEAST_FILES}
        ${PROJECT_SOURCE_DIR}/example/common/root_certificates.hpp
        Jamfile
        http_client_coro_ssl.cpp
    )

    set_property(TARGET http-client-coro-ssl PROPERTY FOLDER "example-http-client")

    target_link_libraries (http-client-coro-ssl
        OpenSSL::SSL OpenSSL::Crypto
        lib-asio
        lib-asio-ssl
        lib-beast
        )

endif()