summaryrefslogtreecommitdiffstats
path: root/Tests/Module/ExternalData/DataNoSymlinks/DataNoSymlinksCheck.cmake
blob: a73668ae3a9313e9cf2fa06b754a93c2307ed855 (plain)
1
2
3
4
5
6
if(NOT EXISTS "${Data}")
  message(SEND_ERROR "Input file:\n  ${Data}\n" "does not exist!")
endif()
if(IS_SYMLINK "${Data}")
  message(SEND_ERROR "Input file:\n  ${Data}\nis a symlink but should not be!")
endif()