summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompileFeatures/CMP0128NewExtensionsStandardDefault-build-check.cmake
blob: 4e85397f4a2276cb17d7f196504b54fe3f31c36a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
foreach(flag @flags@)
  string(FIND "${actual_stdout}" "${flag}" position)

  if(NOT position EQUAL -1)
    set(found TRUE)
    break()
  endif()
endforeach()

if(NOT found)
  set(RunCMake_TEST_FAILED "No compile flags from \"@flags@\" found for LANG_STANDARD=default and @lang@_EXTENSIONS=@extensions_opposite@.")
endif()