diff options
author | David Cole <david.cole@kitware.com> | 2009-09-25 17:36:08 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2009-09-25 17:36:08 (GMT) |
commit | 8562f5400d5ea65e37b64a3d2fc209c7a07bd2ea (patch) | |
tree | be369ef9604d4d36e06e2eb7ffb286cd3707f2fc /Tests | |
parent | f199385605b228d73060f87647922fbe4c17779c (diff) | |
download | CMake-8562f5400d5ea65e37b64a3d2fc209c7a07bd2ea.zip CMake-8562f5400d5ea65e37b64a3d2fc209c7a07bd2ea.tar.gz CMake-8562f5400d5ea65e37b64a3d2fc209c7a07bd2ea.tar.bz2 |
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.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CustomCommand/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
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 |