diff --git a/CMakeLists.txt b/CMakeLists.txt index da52a71bde..4947b698e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1158,6 +1158,7 @@ target_link_libraries (ripple_libs INTERFACE NIH::rocksdb) proper targets and export/install #]===================================================================] +add_library (nudb INTERFACE) if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.11) FetchContent_Declare( nudb_src @@ -1182,9 +1183,9 @@ else () ExternalProject_Get_Property (nudb_src SOURCE_DIR) set (nudb_src_SOURCE_DIR "${SOURCE_DIR}") file (MAKE_DIRECTORY ${nudb_src_SOURCE_DIR}/include) + add_dependencies (nudb nudb_src) endif () -add_library (nudb INTERFACE) file(TO_CMAKE_PATH "${nudb_src_SOURCE_DIR}" nudb_src_SOURCE_DIR) # specify as system includes so as to avoid warnings target_include_directories (nudb SYSTEM INTERFACE ${nudb_src_SOURCE_DIR}/include) diff --git a/Jenkinsfile b/Jenkinsfile index 638cd4da32..8c6c295e42 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -701,7 +701,7 @@ function error { exit 1 } -yum install -y yum-utils +yum install -y yum-utils openssl-static zlib-static rpm -i /opt/rippled-rpm/*.rpm rc=$?; if [[ $rc != 0 ]]; then error "error installing rpms"