cmake: stop rebuilding rocksdb everytime

this change was originally introduced as a part of
418bfd7bb5, and latter migrated / changed
in the current form. but the idea is the same: to rebuild rocksdb even
if the stamp file shows that it has been built. there is no need to do
so, as we don't hack RocksDB as we used to. also,it is distracting to
check this log message when rebuilding the tree. so drop it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2020-12-10 12:22:48 +08:00
parent b2d0ea1d5b
commit 244784fb36

View File

@ -84,7 +84,6 @@ function(build_rocksdb)
CMAKE_ARGS ${rocksdb_CMAKE_ARGS} CMAKE_ARGS ${rocksdb_CMAKE_ARGS}
BINARY_DIR "${rocksdb_BINARY_DIR}" BINARY_DIR "${rocksdb_BINARY_DIR}"
BUILD_COMMAND "${make_cmd}" BUILD_COMMAND "${make_cmd}"
BUILD_ALWAYS TRUE
BUILD_BYPRODUCTS "${rocksdb_LIBRARY}" BUILD_BYPRODUCTS "${rocksdb_LIBRARY}"
INSTALL_COMMAND "true" INSTALL_COMMAND "true"
LIST_SEPARATOR !) LIST_SEPARATOR !)