From 8562f5400d5ea65e37b64a3d2fc209c7a07bd2ea Mon Sep 17 00:00:00 2001 From: David Cole Date: Fri, 25 Sep 2009 13:36:08 -0400 Subject: Oops. Last commit did not create subdir before doing a touch on a file in it. So it fails on some platforms. This fixes that. --- Tests/CustomCommand/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Tests/CustomCommand/CMakeLists.txt b/Tests/CustomCommand/CMakeLists.txt index 664b507..4fc9fb5 100644 --- a/Tests/CustomCommand/CMakeLists.txt +++ b/Tests/CustomCommand/CMakeLists.txt @@ -406,6 +406,7 @@ ADD_CUSTOM_TARGET(SameName ALL ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/subdir/SameName + COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/subdir COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/subdir/SameName ) ADD_CUSTOM_TARGET(DifferentName ALL -- cgit v0.12