]>
Commit | Line | Data |
---|---|---|
b32b8144 FG |
1 | # |
2 | # Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com) | |
3 | # | |
4 | # Distributed under the Boost Software License, Version 1.0. (See accompanying | |
5 | # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
6 | # | |
7 | # Official repository: https://github.com/boostorg/beast | |
8 | # | |
9 | ||
10 | if (OPENSSL_FOUND) | |
11 | GroupSources(include/boost/beast beast) | |
12 | GroupSources(example/common common) | |
13 | GroupSources(example/websocket/client/coro-ssl "/") | |
14 | ||
15 | add_executable (websocket-client-coro-ssl | |
16 | ${BOOST_BEAST_FILES} | |
17 | ${PROJECT_SOURCE_DIR}/example/common/root_certificates.hpp | |
18 | Jamfile | |
19 | websocket_client_coro_ssl.cpp | |
20 | ) | |
21 | ||
22 | set_property(TARGET websocket-client-coro-ssl PROPERTY FOLDER "example-websocket-client") | |
23 | ||
24 | target_link_libraries (websocket-client-coro-ssl | |
92f5a8d4 TL |
25 | OpenSSL::SSL OpenSSL::Crypto |
26 | lib-asio | |
27 | lib-asio-ssl | |
28 | lib-beast | |
b32b8144 FG |
29 | ) |
30 | ||
31 | endif() |