summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file/CREATE_LINK-SYMBOLIC-noexist.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/file/CREATE_LINK-SYMBOLIC-noexist.cmake')
-rw-r--r--Tests/RunCMake/file/CREATE_LINK-SYMBOLIC-noexist.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/file/CREATE_LINK-SYMBOLIC-noexist.cmake b/Tests/RunCMake/file/CREATE_LINK-SYMBOLIC-noexist.cmake
new file mode 100644
index 0000000..61aaf38
--- /dev/null
+++ b/Tests/RunCMake/file/CREATE_LINK-SYMBOLIC-noexist.cmake
@@ -0,0 +1,4 @@
+file(CREATE_LINK does_not_exist.txt TestSymLink.txt RESULT sym_result SYMBOLIC)
+if(NOT sym_result STREQUAL "0")
+ message("Symlink fail: ${sym_result}")
+endif()