mirror of
				https://github.com/ton-blockchain/ton
				synced 2025-03-09 15:40:10 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			375 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			375 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
 | |
| 
 | |
| if (NOT OPENSSL_FOUND)
 | |
|   find_package(OpenSSL REQUIRED)
 | |
| endif()
 | |
| 
 | |
| 
 | |
| set (DHT_SERVER_SOURCE
 | |
|   dht-server.cpp
 | |
|   dht-server.hpp
 | |
| )
 | |
| 
 | |
| add_executable (dht-server ${DHT_SERVER_SOURCE})
 | |
| target_link_libraries(dht-server tdutils tdactor adnl tl_api dht memprof ${JEMALLOC_LIBRARIES})
 | |
| 
 | |
| install(TARGETS dht-server RUNTIME DESTINATION bin)
 |