integrate zstd

This commit is contained in:
2024-04-18 02:54:06 +00:00
parent 27233fb8ef
commit 0c0d4684bb
5 changed files with 12 additions and 1 deletions

View File

@ -7,4 +7,5 @@ add_executable(${BACKEND_EXETUABLE_NAME} main.cpp)
target_link_libraries(${BACKEND_EXETUABLE_NAME} argparse)
target_link_libraries(${BACKEND_EXETUABLE_NAME} spdlog::spdlog)
target_link_libraries(${BACKEND_EXETUABLE_NAME} sockpp)
target_link_libraries(${BACKEND_EXETUABLE_NAME} libzstd_static)
set_target_properties(${BACKEND_EXETUABLE_NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})

View File

@ -1,4 +1,5 @@
#include <sockpp/tcp_acceptor.h>
#include <zstd.h>
#include "basic_defs.h"
const std::string main_version = "0.0.1";
const std::string build_version = GIT_COMMIT_HASH;