forked from boostorg/beast
fix #1417 * New get_lowest_layer free function works for any object * New lowest_layer_type trait works for any object * New examples and documentation on layered streams API Changes: * The member function lowest_layer is removed from all types provided by the library: Actions Required: * Call the free function get_lowest_layer instead of member lowest_layer.
29 lines
885 B
CMake
29 lines
885 B
CMake
#
|
|
# 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/websocket/server/stackless-ssl "/")
|
|
|
|
add_executable (websocket-server-stackless-ssl
|
|
${BOOST_BEAST_FILES}
|
|
${PROJECT_SOURCE_DIR}/example/common/server_certificate.hpp
|
|
Jamfile
|
|
websocket_server_stackless_ssl.cpp
|
|
)
|
|
|
|
set_property(TARGET websocket-server-stackless-ssl PROPERTY FOLDER "example-websocket-server")
|
|
|
|
target_link_libraries (websocket-server-stackless-ssl
|
|
OpenSSL::SSL OpenSSL::Crypto
|
|
)
|
|
|
|
endif()
|