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