1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Merge branch 'testnet' into block-generation

This commit is contained in:
SpyCheese 2024-03-28 18:12:21 +03:00
commit 8385336eab
43 changed files with 11171 additions and 89 deletions

View file

@ -15,7 +15,6 @@ if (NOT DEFINED CMAKE_INSTALL_LIBDIR)
endif()
find_package(PkgConfig REQUIRED)
find_package(LZ4)
if (NOT ZLIB_FOUND)
pkg_check_modules(ZLIB zlib)
endif()
@ -281,6 +280,10 @@ if (TDUTILS_MIME_TYPE)
)
endif()
if (NOT LZ4_FOUND)
pkg_check_modules(LZ4 REQUIRED liblz4)
endif()
if (LZ4_FOUND)
set(TD_HAVE_LZ4 1)
set(TDUTILS_SOURCE
@ -350,7 +353,9 @@ if (CRC32C_FOUND)
endif()
if (LZ4_FOUND)
message(STATUS "Found LZ4 ${LZ4_LIBRARIES} ${LZ4_INCLUDE_DIRS}")
target_link_libraries(tdutils PRIVATE ${LZ4_LIBRARIES})
target_include_directories(tdutils SYSTEM PRIVATE ${LZ4_INCLUDE_DIRS})
endif()
if (ABSL_FOUND)