Tests/RunCMake/CompileFeatures/CMP0128NewExtensionsStandardUnset-build-check.cmake
raw| 1 | foreach(flag @flags@) |
| 2 | string(FIND "${actual_stdout}" "${flag}" position) |
| 3 | |
| 4 | if(NOT position EQUAL -1) |
| 5 | set(found TRUE) |
| 6 | break() |
| 7 | endif() |
| 8 | endforeach() |
| 9 | |
| 10 | if(NOT found) |
| 11 | set(RunCMake_TEST_FAILED "No compile flags from \"@flags@\" found for CMAKE_@lang@_EXTENSIONS=@extensions_opposite@.") |
| 12 | endif() |