]> git.proxmox.com Git - ceph.git/blame - ceph/src/Beast/examples/ssl/CMakeLists.txt
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / Beast / examples / ssl / CMakeLists.txt
CommitLineData
7c673cae
FG
1# Part of Beast
2
3GroupSources(extras/beast extras)
4GroupSources(include/beast beast)
5
6GroupSources(examples/ssl "/")
7
8include_directories(${OPENSSL_INCLUDE_DIR})
9
10add_executable (http-ssl-example
11 ${BEAST_INCLUDES}
12 ${EXTRAS_INCLUDES}
13 http_ssl_example.cpp
14)
15
16target_link_libraries(http-ssl-example ${OPENSSL_LIBRARIES})
17
18if (NOT WIN32)
19 target_link_libraries(http-ssl-example ${Boost_LIBRARIES} Threads::Threads)
20endif()
21
22add_executable (websocket-ssl-example
23 ${BEAST_INCLUDES}
24 ${EXTRAS_INCLUDES}
25 websocket_ssl_example.cpp
26)
27
28target_link_libraries(websocket-ssl-example ${OPENSSL_LIBRARIES})
29
30if (NOT WIN32)
31 target_link_libraries(websocket-ssl-example ${Boost_LIBRARIES} Threads::Threads)
32endif()