mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
initial commit
This commit is contained in:
commit
c2da007f40
1610 changed files with 398047 additions and 0 deletions
22
fec/CMakeLists.txt
Normal file
22
fec/CMakeLists.txt
Normal file
|
@ -0,0 +1,22 @@
|
|||
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
|
||||
|
||||
if (NOT OPENSSL_FOUND)
|
||||
find_package(OpenSSL REQUIRED)
|
||||
endif()
|
||||
|
||||
set(FEC_SOURCE
|
||||
fec.h
|
||||
fec.cpp
|
||||
)
|
||||
|
||||
add_library(fec STATIC ${FEC_SOURCE})
|
||||
|
||||
target_include_directories(fec PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>/..
|
||||
${OPENSSL_INCLUDE_DIR}
|
||||
)
|
||||
target_link_libraries(fec PRIVATE tl_api)
|
||||
target_link_libraries(fec PUBLIC tdfec)
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue