diff options
author | Brad King <brad.king@kitware.com> | 2019-06-26 11:13:37 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-06-26 11:14:04 (GMT) |
commit | 06f1560a58391d29b10697b2d5462966cd417b2f (patch) | |
tree | 1b845cb7d0effffeec2ea73d63ac681b8bede9e8 /Tests/RunCMake/RuntimePath/GenexCheck.cmake | |
parent | 9b68e4b1836ff39043ebf34aec5d1e97cebbeabc (diff) | |
parent | d29ed8a1148d317a5743c0210a3b97d42d41e0a0 (diff) | |
download | CMake-06f1560a58391d29b10697b2d5462966cd417b2f.zip CMake-06f1560a58391d29b10697b2d5462966cd417b2f.tar.gz CMake-06f1560a58391d29b10697b2d5462966cd417b2f.tar.bz2 |
Merge topic 'build-install-rpath-genex'
d29ed8a114 BUILD_RPATH/INSTALL_RPATH: Add generator expression support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3481
Diffstat (limited to 'Tests/RunCMake/RuntimePath/GenexCheck.cmake')
-rw-r--r-- | Tests/RunCMake/RuntimePath/GenexCheck.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/RuntimePath/GenexCheck.cmake b/Tests/RunCMake/RuntimePath/GenexCheck.cmake new file mode 100644 index 0000000..07dc496 --- /dev/null +++ b/Tests/RunCMake/RuntimePath/GenexCheck.cmake @@ -0,0 +1,7 @@ +file(GLOB_RECURSE files "${dir}/*") + +foreach(file IN LISTS files) + if(file MATCHES "/(build|install)(no)?ge$") + file(RPATH_CHANGE FILE "${file}" OLD_RPATH "/opt/foo/lib" NEW_RPATH "/opt/bar/lib") + endif() +endforeach() |