TZIVI-254: IVI needs a newer version of cmake
[profile/ivi/cmake.git] / Tests / FortranOnly / checktestf2.cmake
1 file(READ testfhello.txt IN)
2 message("${IN}")
3 if(IN MATCHES Hello AND IN MATCHES World)
4   message("Passed")
5 else()
6   message(FATAL_ERROR "Hello world not found")
7 endif()
8 file(WRITE testfhello2.txt ${IN})