cmake/Tests/RunCMake/cmake_language/exit_9_script_foreach.cmake

6 lines
166 B
CMake
Raw Normal View History

2024-04-14 22:45:38 +02:00
foreach(i IN ITEMS a b)
cmake_language(EXIT 9)
message(FATAL_ERROR "This should not be reached!")
endforeach()
message(FATAL_ERROR "This should not be reached!")