diff --git a/CMakeLists.txt b/CMakeLists.txt index 55bf058..c11c6bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,6 +36,7 @@ find_package(fmt REQUIRED) find_package(date REQUIRED) find_package(OpenSSL REQUIRED) find_package(Threads) +find_package(xxHash) include(XBridgeWitnessNIH) @@ -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} diff --git a/conanfile.py b/conanfile.py index 7f46b13..58a872f 100644 --- a/conanfile.py +++ b/conanfile.py @@ -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 = { diff --git a/src/xbwd/rpc/ServerHandler.cpp b/src/xbwd/rpc/ServerHandler.cpp index 90e3a03..d269689 100644 --- a/src/xbwd/rpc/ServerHandler.cpp +++ b/src/xbwd/rpc/ServerHandler.cpp @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include #include #include