diff --git a/libs/CMakeLists.txt b/libs/CMakeLists.txt index 9a4fe3a83..7106e0ce6 100644 --- a/libs/CMakeLists.txt +++ b/libs/CMakeLists.txt @@ -196,7 +196,10 @@ import_external_library(rocksdb STATIC # That's the reason why NoOps (true) are used as configure # and install commands. Build command uses RocksDB's Makefile. CONFIGURE_COMMAND true - BUILD_COMMAND make -C ${CMAKE_CURRENT_SOURCE_DIR}/rocksdb static_lib + BUILD_COMMAND ROCKSDB_DISABLE_LZ4=1 + ROCKSDB_DISABLE_ZSTD=1 + ROCKSDB_DISABLE_SNAPPY=1 + make -C ${CMAKE_CURRENT_SOURCE_DIR}/rocksdb static_lib -j${NPROC} CC=${CMAKE_C_COMPILER} CXX=${CMAKE_CXX_COMPILER}