Files
CMake/Tests/RunCMake/CompileFeatures/CMP0128NewNoUnnecessaryFlag-build-check.cmake
T
Raul Tambre 3a089cd256 CMP0128: Prefix test names with mode
Makes clear that these tests are for the NEW behaviour.
2022-01-23 23:10:28 +02:00

9 lines
203 B
CMake

foreach(flag @flags@)
string(FIND "${actual_stdout}" "${flag}" position)
if(NOT position EQUAL -1)
set(RunCMake_TEST_FAILED "\"${flag}\" compile flag found.")
break()
endif()
endforeach()