diff --git a/3rdParty/rocksdb/v5.14.X/CMakeLists.txt b/3rdParty/rocksdb/v5.14.X/CMakeLists.txt index 7a5df4213e..cb51730d30 100644 --- a/3rdParty/rocksdb/v5.14.X/CMakeLists.txt +++ b/3rdParty/rocksdb/v5.14.X/CMakeLists.txt @@ -117,7 +117,8 @@ else() endif() endif() -string(TIMESTAMP GIT_DATE_TIME "%Y/%m/%d %H:%M:%S" UTC) +string(TIMESTAMP TS "%Y/%m/%d %H:%M:%S" UTC) +set(GIT_DATE_TIME "${TS}" CACHE STRING "the time we first built rocksdb") find_package(Git)