summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/RuntimePath/GenexCheck.cmake
blob: 07dc4967d588a59475cb07ad078e11a144f92675 (plain)
1
2
3
4
5
6
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()