summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file/MAKE_DIRECTORY-fail.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/file/MAKE_DIRECTORY-fail.cmake')
-rw-r--r--Tests/RunCMake/file/MAKE_DIRECTORY-fail.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/file/MAKE_DIRECTORY-fail.cmake b/Tests/RunCMake/file/MAKE_DIRECTORY-fail.cmake
new file mode 100644
index 0000000..57a68e5
--- /dev/null
+++ b/Tests/RunCMake/file/MAKE_DIRECTORY-fail.cmake
@@ -0,0 +1,2 @@
+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/file" "")
+file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/file/directory")