summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/add_link_options/LINK_OPTIONS-mod-check.cmake
blob: 874e0ad297ba8ae20cb6ff0e078f27b881146316 (plain)
1
2
3
4
5
6
7
8
9
10

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()