summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/RuntimePath/RelativeCheck.cmake
blob: 9ee403ff9ec6814b79aeb1659cceed0a64c81297 (plain)
1
2
3
4
file(RPATH_CHECK FILE "${file}" RPATH "${rpath}")
if(NOT EXISTS "${file}")
  message(FATAL_ERROR "RPATH for ${file} did not contain the expected value")
endif()