1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-13 03:32:22 +00:00
ton/common/CMakeLists.txt

22 lines
425 B
Text
Raw Normal View History

2019-09-07 10:03:22 +00:00
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
set(COMMON_SOURCE
checksum.h
errorcode.h
status.h
io.hpp
errorlog.h
errorlog.cpp
)
add_library(common STATIC ${COMMON_SOURCE})
target_include_directories(common PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>/..
${OPENSSL_INCLUDE_DIR}
)
target_link_libraries(common PRIVATE tdutils ton_crypto )