mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 18:51:05 -05:00
461efa7b51
This MR may help to solve issues #19757 and #18008 Fixes: #19965
11 lines
395 B
CMake
11 lines
395 B
CMake
|
|
if (NOT actual_stdout MATCHES "BADFLAG_MODULE_RELEASE")
|
|
set (RunCMake_TEST_FAILED "Not found expected 'BADFLAG_MODULE_RELEASE'.")
|
|
endif()
|
|
if (actual_stdout MATCHES "BADFLAG_(SHARED|EXECUTABLE)_RELEASE")
|
|
if (RunCMake_TEST_FAILED)
|
|
string (APPEND RunCMake_TEST_FAILED "\n")
|
|
endif()
|
|
string (APPEND RunCMake_TEST_FAILED "Found unexpected 'BADFLAG_(SHARED|EXECUTABLE)_RELEASE'.")
|
|
endif()
|