summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file/CREATE_LINK-SYMBOLIC.cmake
diff options
context:
space:
mode:
authorTushar Maheshwari <tushar27192@gmail.com>2019-01-11 13:07:05 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-16 15:03:35 (GMT)
commit9a3d85cfc501fe3c1655e4a6ae9fd08fd9a1fbb7 (patch)
treed1317dec8dfa28f4f331086b2e220bcacb204be8 /Tests/RunCMake/file/CREATE_LINK-SYMBOLIC.cmake
parente68ea269d72773e53db0c6c6848f6f69f3fd7329 (diff)
downloadCMake-9a3d85cfc501fe3c1655e4a6ae9fd08fd9a1fbb7.zip
CMake-9a3d85cfc501fe3c1655e4a6ae9fd08fd9a1fbb7.tar.gz
CMake-9a3d85cfc501fe3c1655e4a6ae9fd08fd9a1fbb7.tar.bz2
Tests: Skip symlink tests on Windows
Diffstat (limited to 'Tests/RunCMake/file/CREATE_LINK-SYMBOLIC.cmake')
-rw-r--r--Tests/RunCMake/file/CREATE_LINK-SYMBOLIC.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/file/CREATE_LINK-SYMBOLIC.cmake b/Tests/RunCMake/file/CREATE_LINK-SYMBOLIC.cmake
new file mode 100644
index 0000000..77b899c
--- /dev/null
+++ b/Tests/RunCMake/file/CREATE_LINK-SYMBOLIC.cmake
@@ -0,0 +1,4 @@
+file(CREATE_LINK ${CMAKE_CURRENT_LIST_FILE} TestSymLink.cmake RESULT sym_result SYMBOLIC)
+if(NOT sym_result STREQUAL "0")
+ message(SEND_ERROR "Symlink result='${sym_result}'")
+endif()