summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/RuntimePath/SymlinkImplicitCheck.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-03-01 17:38:10 (GMT)
committerBrad King <brad.king@kitware.com>2017-03-02 13:36:32 (GMT)
commit69528fe65f0c4402c6560917d6cb118d2c103445 (patch)
tree3ac7a7fd0523198d44a05b37ccd2777b0d83e833 /Tests/RunCMake/RuntimePath/SymlinkImplicitCheck.cmake
parentf3102ca884496a4a0644dc43afaf80a253191ed8 (diff)
downloadCMake-69528fe65f0c4402c6560917d6cb118d2c103445.zip
CMake-69528fe65f0c4402c6560917d6cb118d2c103445.tar.gz
CMake-69528fe65f0c4402c6560917d6cb118d2c103445.tar.bz2
Tests: Add case for RPATH exclusion of symlinks to implicit directories
Issue: #16682
Diffstat (limited to 'Tests/RunCMake/RuntimePath/SymlinkImplicitCheck.cmake')
-rw-r--r--Tests/RunCMake/RuntimePath/SymlinkImplicitCheck.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/RuntimePath/SymlinkImplicitCheck.cmake b/Tests/RunCMake/RuntimePath/SymlinkImplicitCheck.cmake
new file mode 100644
index 0000000..d34742e
--- /dev/null
+++ b/Tests/RunCMake/RuntimePath/SymlinkImplicitCheck.cmake
@@ -0,0 +1,2 @@
+file(COPY ${dir}/bin/exe DESTINATION ${dir})
+file(RPATH_CHANGE FILE "${dir}/exe" OLD_RPATH "${dir}/libLink" NEW_RPATH "old-should-not-exist")