summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/tests/SYMLINKS/TGZ-Prerequirements.cmake
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2017-05-14 21:44:56 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2017-05-14 21:45:18 (GMT)
commit263840681331b0b75ee179b27ec33bb909f4c98c (patch)
tree1023c25a6319122d68068d0508899ab031be08b7 /Tests/RunCMake/CPack/tests/SYMLINKS/TGZ-Prerequirements.cmake
parent6949b71ff13e222925c0939c50f669e23b6da785 (diff)
downloadCMake-263840681331b0b75ee179b27ec33bb909f4c98c.zip
CMake-263840681331b0b75ee179b27ec33bb909f4c98c.tar.gz
CMake-263840681331b0b75ee179b27ec33bb909f4c98c.tar.bz2
CPack test symlinks in package
Diffstat (limited to 'Tests/RunCMake/CPack/tests/SYMLINKS/TGZ-Prerequirements.cmake')
-rw-r--r--Tests/RunCMake/CPack/tests/SYMLINKS/TGZ-Prerequirements.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/tests/SYMLINKS/TGZ-Prerequirements.cmake b/Tests/RunCMake/CPack/tests/SYMLINKS/TGZ-Prerequirements.cmake
new file mode 100644
index 0000000..f3df46b
--- /dev/null
+++ b/Tests/RunCMake/CPack/tests/SYMLINKS/TGZ-Prerequirements.cmake
@@ -0,0 +1,5 @@
+function(get_test_prerequirements found_var config_file)
+ if(UNIX) # limit test to platforms that support symlinks
+ set(${found_var} true PARENT_SCOPE)
+ endif()
+endfunction()