Skip to content

Commit

Permalink
862 Bite Add proxygen to build
Browse files Browse the repository at this point in the history
  • Loading branch information
kladkogex committed Feb 26, 2025
1 parent 2309edf commit ab353b9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
21 changes: 18 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -213,18 +213,18 @@ include_directories(. spdlog/include ${BLS_INCLUDE_DIRS} ${DEPS_INSTALL_ROOT}/in
"${DEPS_INSTALL_ROOT}/include" ${CMAKE_BINARY_DIR}/deps/include)


set(BOOST_LIBS_FOR_CONSENSUS boost_thread boost_system boost_filesystem boost_program_options)
set(BOOST_LIBS_FOR_CONSENSUS boost_thread boost_system boost_filesystem boost_program_options boost_context)

set(DASH_D_SUFFIX "")
if (${CMAKE_BUILD_TYPE} MATCHES "Debug")
set(DASH_SUFFIX "-d")
endif ()



SET(LINK_LIBRARIES
backtrace
Threads::Threads
${BOOST_LIBS_FOR_CONSENSUS}
${LIB_NAME_cryptopp}
leveldb
snappy
Expand All @@ -246,14 +246,29 @@ SET(LINK_LIBRARIES
"${DEPS_INSTALL_ROOT}/lib/libcurl${DASH_D_SUFFIX}.a"
"${DEPS_INSTALL_ROOT}/lib/libjsoncpp.a"
"${DEPS_INSTALL_ROOT}/lib/libssl.a"
"${DEPS_INSTALL_ROOT}/lib/libcrypto.a"
"${DEPS_INSTALL_ROOT}/lib/libproxygen.a"
"${DEPS_INSTALL_ROOT}/lib/libfolly.a"
"${DEPS_INSTALL_ROOT}/lib/libdouble-conversion.a"
${BOOST_LIBS_FOR_CONSENSUS}
dl
z
pthread
idn2
blake3
event
folly
)

if(CMAKE_BUILD_TYPE STREQUAL "Debug")
set( LINK_LIBRARIES ${LINK_LIBRARIES}
"${DEPS_INSTALL_ROOT}/lib/libeventd.a"
"${DEPS_INSTALL_ROOT}/lib/libgflags_debug.a"
"${DEPS_INSTALL_ROOT}/lib/libfmtd.a"
"${DEPS_INSTALL_ROOT}/lib/libglogd.a"
)
else()

endif()

# consensus library

Expand Down
2 changes: 1 addition & 1 deletion spdlog
Submodule spdlog updated 182 files

0 comments on commit ab353b9

Please sign in to comment.