summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/string/TimestampEmpty.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/string/TimestampEmpty.cmake')
-rw-r--r--Tests/RunCMake/string/TimestampEmpty.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/string/TimestampEmpty.cmake b/Tests/RunCMake/string/TimestampEmpty.cmake
new file mode 100644
index 0000000..21b770f
--- /dev/null
+++ b/Tests/RunCMake/string/TimestampEmpty.cmake
@@ -0,0 +1,3 @@
+set(ENV{SOURCE_DATE_EPOCH} "")
+string(TIMESTAMP RESULT "%Y-%m-%d %H:%M:%S" UTC)
+message("RESULT=${RESULT}")