CMake/Tests/RunCMake/RuntimePath/SymlinkImplicitCheck.cmake

3 lines
142 B
CMake

file(COPY ${dir}/bin/exe DESTINATION ${dir})
file(RPATH_CHANGE FILE "${dir}/exe" OLD_RPATH "${dir}/libLink" NEW_RPATH "old-should-not-exist")