| 
									
										
										
										
											2017-07-20 13:40:34 -07:00
										 |  |  | #
 | 
					
						
							| 
									
										
										
										
											2017-07-24 09:42:36 -07:00
										 |  |  | # Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
 | 
					
						
							| 
									
										
										
										
											2017-07-20 13:40:34 -07:00
										 |  |  | #
 | 
					
						
							|  |  |  | # 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
 | 
					
						
							|  |  |  | #
 | 
					
						
							| 
									
										
										
										
											2017-06-18 17:10:38 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-10-01 10:33:49 -07:00
										 |  |  | if (OPENSSL_FOUND)
 | 
					
						
							|  |  |  |     GroupSources(include/boost/beast beast)
 | 
					
						
							|  |  |  |     GroupSources(example/common common)
 | 
					
						
							|  |  |  |     GroupSources(example/http/server/async-ssl "/")
 | 
					
						
							| 
									
										
										
										
											2017-06-18 17:10:38 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-10-01 10:33:49 -07:00
										 |  |  |     add_executable (http-server-async-ssl | 
					
						
							| 
									
										
										
										
											2017-10-30 08:57:31 -07:00
										 |  |  |         ${BOOST_BEAST_FILES}
 | 
					
						
							| 
									
										
										
										
											2017-10-01 10:33:49 -07:00
										 |  |  |         ${PROJECT_SOURCE_DIR}/example/common/server_certificate.hpp
 | 
					
						
							|  |  |  |         Jamfile
 | 
					
						
							|  |  |  |         http_server_async_ssl.cpp
 | 
					
						
							| 
									
										
										
										
											2017-06-20 17:16:07 -07:00
										 |  |  |     )
 | 
					
						
							| 
									
										
										
										
											2017-10-01 10:33:49 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-10-30 07:30:18 -07:00
										 |  |  |     set_property(TARGET http-server-async-ssl PROPERTY FOLDER "example-http-server")
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-10-01 10:33:49 -07:00
										 |  |  |     target_link_libraries (http-server-async-ssl | 
					
						
							| 
									
										
										
										
											2019-01-10 20:25:10 -08:00
										 |  |  |         OpenSSL::SSL OpenSSL::Crypto
 | 
					
						
							| 
									
										
										
										
											2017-10-01 10:33:49 -07:00
										 |  |  |         )
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | endif()
 |