cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR) if (NOT OPENSSL_FOUND) find_package(OpenSSL REQUIRED) endif() set(VALIDATOR_SESSION_SOURCE persistent-vector.cpp validator-session-description.cpp validator-session-state.cpp validator-session.cpp persistent-vector.h validator-session-description.h validator-session-description.hpp validator-session-state.h validator-session.h validator-session.hpp ) add_library(validatorsession STATIC ${VALIDATOR_SESSION_SOURCE}) target_include_directories(validatorsession PUBLIC $ $/.. ${OPENSSL_INCLUDE_DIR} ) target_link_libraries(validatorsession PRIVATE tdutils tdactor adnl rldp tl_api dht tdfec overlay catchain)