]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/beast/example/http/server/sync-ssl/CMakeLists.txt
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / beast / example / http / server / sync-ssl / CMakeLists.txt
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/http/server/sync-ssl "/")
14
15 add_executable (http-server-sync-ssl
16 ${BOOST_BEAST_FILES}
17 ${PROJECT_SOURCE_DIR}/example/common/server_certificate.hpp
18 Jamfile
19 http_server_sync_ssl.cpp
20 )
21
22 set_property(TARGET http-server-sync-ssl PROPERTY FOLDER "example-http-server")
23
24 target_link_libraries (http-server-sync-ssl
25 OpenSSL::SSL OpenSSL::Crypto
26 lib-asio
27 lib-asio-ssl
28 lib-beast
29 )
30
31 endif()