summaryrefslogtreecommitdiffstats
path: root/cmake/GenerateBuild.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/GenerateBuild.cmake')
-rw-r--r--cmake/GenerateBuild.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/GenerateBuild.cmake b/cmake/GenerateBuild.cmake
index 020eb84..96b2906 100644
--- a/cmake/GenerateBuild.cmake
+++ b/cmake/GenerateBuild.cmake
@@ -5,6 +5,7 @@
# set current build type of the project
set(DNBD3_BUILD ${BUILD_TYPE})
+string(TIMESTAMP DNBD3_BUILD_DATE "%Y-%m-%d" UTC)
# write dnbd3 build type into a new C source file based on the specified build file template
configure_file(${BUILD_INPUT_FILE_TEMPLATE} ${BUILD_OUTPUT_FILE})