mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2024-11-29 01:33:46 +00:00
Forgot to remove the time from the date
This commit is contained in:
parent
a6b1feb958
commit
2a2e9e501a
1 changed files with 2 additions and 2 deletions
|
@ -21,11 +21,11 @@ function (make_timestamp project_name file_input)
|
||||||
FILE (WRITE ${CMAKE_CURRENT_BINARY_DIR}/timestamp.cmake
|
FILE (WRITE ${CMAKE_CURRENT_BINARY_DIR}/timestamp.cmake
|
||||||
"if (${bare_name_upper}_WITH_BUILD_DATE)
|
"if (${bare_name_upper}_WITH_BUILD_DATE)
|
||||||
# string(TIMESTAMP ${bare_name_upper}_BUILD_DATE \"%Y-%m-%d %H:%M:%S\" UTC)
|
# string(TIMESTAMP ${bare_name_upper}_BUILD_DATE \"%Y-%m-%d %H:%M:%S\" UTC)
|
||||||
string(TIMESTAMP ${bare_name_upper}_BUILD_DATE \"%Y-%m-%d %H:%M:%S\" UTC)
|
string(TIMESTAMP ${bare_name_upper}_BUILD_DATE \"%Y-%m-%d\" UTC)
|
||||||
else()
|
else()
|
||||||
set(${bare_name_upper}_BUILD_DATE \"\")
|
set(${bare_name_upper}_BUILD_DATE \"\")
|
||||||
endif()
|
endif()
|
||||||
#set(${bare_name_upper}_BUILD_DATE \"$\{${bare_name_upper}_BUILD_DATE}\" PARENT_SCOPE)
|
#set(${bare_name_upper}_BUILD_DATE \"\${${bare_name_upper}_BUILD_DATE}\" PARENT_SCOPE)
|
||||||
configure_file(\"${CMAKE_CURRENT_SOURCE_DIR}/${file_input}\" \"${CMAKE_CURRENT_BINARY_DIR}/${file_name}\")\n"
|
configure_file(\"${CMAKE_CURRENT_SOURCE_DIR}/${file_input}\" \"${CMAKE_CURRENT_BINARY_DIR}/${file_name}\")\n"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue