summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/add_link_options/LINK_OPTIONS-exe-check.cmake
blob: 4a22d7e6db9d04b3f4276d679e642900f0990b0a (plain)
1
2
3
4
5
6
7

if (NOT actual_stdout MATCHES "BADFLAG_EXECUTABLE_RELEASE")
  set (RunCMake_TEST_FAILED "Not found expected 'BADFLAG_EXECUTABLE_RELEASE'.")
endif()
if (actual_stdout MATCHES "BADFLAG_(SHARED|MODULE)_RELEASE")
  set (RunCMake_TEST_FAILED "Found unexpected 'BADFLAG_(SHARED|MODULE)_RELEASE'.")
endif()