summaryrefslogtreecommitdiff
path: root/Tests/FortranOnly/checksayhello.cmake
blob: 5352290ab5edbd9e301d45d0c7731c8a4a2f1094 (plain)
1
2
3
4
5
6
7
file(READ out.txt IN)
message("${IN}")
if(IN MATCHES Hello AND IN MATCHES World)
  message("Passed")
else()
  message(FATAL_ERROR "Hello world not found")
endif()