1
0
Fork 0

make the string cached so its not regenerated on each invokation, and thus re-creates the lib (#5783)

This commit is contained in:
Wilfried Goesgens 2018-07-05 14:07:52 +02:00 committed by Jan
parent 8a5cf37ba4
commit cf688487d4
1 changed files with 2 additions and 1 deletions

View File

@ -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)