未验证 提交 4634f0ff 编写于 作者: L Leo Chen 提交者: GitHub

fit for ninja generator (#49303)

上级 27ce06aa
......@@ -21,9 +21,9 @@ ExternalProject_Add(
URL ${JEMALLOC_URL}
INSTALL_DIR ${JEMALLOC_INSTALL}
DOWNLOAD_DIR "${JEMALLOC_DOWNLOAD_DIR}"
BUILD_COMMAND $(MAKE)
BUILD_COMMAND make
BUILD_IN_SOURCE 1
INSTALL_COMMAND $(MAKE) install
INSTALL_COMMAND make install
CONFIGURE_COMMAND "${JEMALLOC_DOWNLOAD_DIR}/configure"
--prefix=${JEMALLOC_INSTALL} --disable-initial-exec-tls)
......
......@@ -75,6 +75,7 @@ ExternalProject_Add(
add_library(rocksdb STATIC IMPORTED GLOBAL)
add_dependencies(extern_rocksdb snappy)
add_dependencies(extern_rocksdb extern_jemalloc)
set_property(TARGET rocksdb PROPERTY IMPORTED_LOCATION ${ROCKSDB_LIBRARIES})
add_dependencies(rocksdb extern_rocksdb)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册