diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index 0dcb7a240c431c4a8b238a408c8624ebf3864e69..d8026bd56fcb4d6b6d0818d1dd383b424cc0635b 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -50,8 +50,11 @@ endif(${BUILD_WITH_LEVELDB}) # rocksdb # To support rocksdb build on ubuntu: sudo apt-get install libgflags-dev if(${BUILD_WITH_ROCKSDB}) + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=maybe-uninitialized") option(WITH_TESTS "" OFF) option(WITH_BENCHMARK_TOOLS "" OFF) + option(WITH_TOOLS "" OFF) + option(WITH_LIBURING "" OFF) option(ROCKSDB_BUILD_SHARED "Build shared versions of the RocksDB libraries" OFF) add_subdirectory(rocksdb) target_include_directories(