mdbx-cmake: исправление ошибки при copy&paste.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2024-12-10 17:06:45 +03:00
parent fe627ed2f2
commit 529b0357e8

View File

@ -1230,9 +1230,9 @@ endif(MDBX_INSTALL_STATIC)
# collect options & build info
if(NOT DEFINED MDBX_BUILD_TIMESTAMP)
if(NOT "$ENV{SOURCE_DATE_EPOCH}" STREQUAL "")
set(FPTA_BUILD_TIMESTAMP "$ENV{SOURCE_DATE_EPOCH}")
set(MDBX_BUILD_TIMESTAMP "$ENV{SOURCE_DATE_EPOCH}")
else()
string(TIMESTAMP FPTA_BUILD_TIMESTAMP UTC)
string(TIMESTAMP MDBX_BUILD_TIMESTAMP UTC)
endif()
endif()
set(MDBX_BUILD_FLAGS ${CMAKE_C_FLAGS})