Skip to content

Commit

Permalink
RXI-967 fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
oleks-rip committed May 3, 2024
1 parent c77c036 commit 9755c3c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ find_package(fmt REQUIRED)
find_package(date REQUIRED)
find_package(OpenSSL REQUIRED)
find_package(Threads)
find_package(xxHash)

include(XBridgeWitnessNIH)

Expand Down Expand Up @@ -234,7 +235,7 @@ if (is_linux)
endif()
target_include_directories (${PROJECT_NAME} PRIVATE src ${date_INCLUDE_DIR})
target_link_libraries (${PROJECT_NAME} PUBLIC Ripple::xrpl_core XBridgeWitness::opts
SOCI::soci_core_static SOCI::soci_sqlite3_static fmt::fmt OpenSSL::Crypto OpenSSL::SSL)
SOCI::soci_core_static SOCI::soci_sqlite3_static fmt::fmt OpenSSL::Crypto OpenSSL::SSL xxHash::xxhash)

if (san)
target_compile_options (${PROJECT_NAME}
Expand Down
3 changes: 2 additions & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ class Xrpl(ConanFile):
'soci/4.0.3',
'sqlite3/3.42.0',
'zlib/1.2.13',
'fmt/8.1.1'
'fmt/8.1.1',
'xxhash/0.8.2'
]

default_options = {
Expand Down
2 changes: 1 addition & 1 deletion src/xbwd/rpc/ServerHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include <ripple/json/json_reader.h>
#include <ripple/json/json_writer.h>
#include <ripple/json/to_string.h>
#include <ripple/net/RPCErr.h>
#include <ripple/protocol/RPCErr.h>
#include <ripple/protocol/ErrorCodes.h>
#include <ripple/protocol/jss.h>
#include <ripple/resource/Fees.h>
Expand Down

0 comments on commit 9755c3c

Please sign in to comment.