summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-04-11 13:39:00 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-04-11 13:39:00 (GMT)
commit9ac11bc25d6b9f5e7db786034f922d96613e6143 (patch)
treeebba418f37ccd76e5d47928d57106ec08b3efc5d /Tests/RunCMake
parent3a556f005db9d1e35514d4d50c219d69f0850bd1 (diff)
parentf5e79004e28195f51cba4baff01615f6ce29b5bf (diff)
downloadCMake-9ac11bc25d6b9f5e7db786034f922d96613e6143.zip
CMake-9ac11bc25d6b9f5e7db786034f922d96613e6143.tar.gz
CMake-9ac11bc25d6b9f5e7db786034f922d96613e6143.tar.bz2
Merge topic 'test-RunCMake.BuildDepends-filesystem-workaround'
f5e79004 Tests: Work around filesystem timestamp bugs in RunCMake.BuildDepends
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r--Tests/RunCMake/BuildDepends/Custom-Symbolic-and-Byproduct.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/BuildDepends/Custom-Symbolic-and-Byproduct.cmake b/Tests/RunCMake/BuildDepends/Custom-Symbolic-and-Byproduct.cmake
index 6948c35..687c827 100644
--- a/Tests/RunCMake/BuildDepends/Custom-Symbolic-and-Byproduct.cmake
+++ b/Tests/RunCMake/BuildDepends/Custom-Symbolic-and-Byproduct.cmake
@@ -10,6 +10,7 @@ add_custom_target(produce DEPENDS gen-byproduct)
add_custom_command(
OUTPUT use-byproduct
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/byproduct
+ COMMAND ${CMAKE_COMMAND} -E sleep 1.125 # workaround buggy filesystem timestamps
COMMAND ${CMAKE_COMMAND} -E touch use-byproduct
)
add_custom_target(drive ALL DEPENDS use-byproduct)