CMake/Tests/RunCMake/Configure/RerunCMake-build1-check.cmake

10 lines
271 B
CMake

file(READ ${stamp} content)
if(NOT content STREQUAL 1)
set(RunCMake_TEST_FAILED "Expected stamp '1' but got: '${content}'")
endif()
file(READ ${output} content)
if(NOT content STREQUAL 1)
set(RunCMake_TEST_FAILED "Expected output '1' but got: '${content}'")
endif()