From 85370b2776b0e61dd9c5a58e8e7cdfb7d709c854 Mon Sep 17 00:00:00 2001 From: Yingchun Lai Date: Wed, 6 Dec 2023 16:20:28 +0800 Subject: [PATCH] update cmake --- cmake_modules/BaseFunctions.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake_modules/BaseFunctions.cmake b/cmake_modules/BaseFunctions.cmake index 09eb69593f..dc0e3b28f7 100644 --- a/cmake_modules/BaseFunctions.cmake +++ b/cmake_modules/BaseFunctions.cmake @@ -326,7 +326,7 @@ function(dsn_setup_thirdparty_libs) find_package(fmt REQUIRED) set(DEFAULT_THIRDPARTY_LIBS ${THRIFT_LIB} fmt::fmt CACHE STRING "default thirdparty libs" FORCE) - # rocksdb and dependent libs + # rocksdb and dependencies file(GLOB ROCKSDB_DEPENDS_MODULE_PATH ${THIRDPARTY_ROOT}/build/Source/rocksdb/cmake/modules) if(NOT ROCKSDB_DEPENDS_MODULE_PATH) message(WARNING "Cannot find RocksDB depends cmake modules path, might not find snappy, zstd, lz4") @@ -338,7 +338,7 @@ function(dsn_setup_thirdparty_libs) if(USE_JEMALLOC) find_package(Jemalloc REQUIRED) endif() - find_package(RocksDB) + find_package(RocksDB REQUIRED) # libhdfs find_package(JNI REQUIRED)