summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/target_link_options/LINK_OPTIONS-basic-check.cmake
blob: 77995061077772c76b8d8b337923cb9c18f9c472 (plain)
1
2
3
4
5
6
7

if (NOT actual_stdout MATCHES "BADFLAG_PRIVATE")
  set (RunCMake_TEST_FAILED "Not found expected 'BADFLAG_PRIVATE'.")
endif()
if (actual_stdout MATCHES "BADFLAG_INTERFACE")
  string (APPEND RunCMake_TEST_FAILED "\nFound unexpected 'BADFLAG_INTERFACE'.")
endif()