summaryrefslogtreecommitdiff
path: root/Tests/CMakeTests/File-TIMESTAMP-Works.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CMakeTests/File-TIMESTAMP-Works.cmake')
-rw-r--r--Tests/CMakeTests/File-TIMESTAMP-Works.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/CMakeTests/File-TIMESTAMP-Works.cmake b/Tests/CMakeTests/File-TIMESTAMP-Works.cmake
new file mode 100644
index 000000000..4351b19dd
--- /dev/null
+++ b/Tests/CMakeTests/File-TIMESTAMP-Works.cmake
@@ -0,0 +1,2 @@
+file(TIMESTAMP "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" output UTC)
+message("~${output}~")