summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/AppleSilicon/default-target-arm64-build-check.cmake
blob: 33ad9313e45f52076c640e586ca3140d73dd21bb (plain)
1
2
3
4
5
if(NOT actual_stdout MATCHES "[ -]-target=arm64-apple-macosx ")
  set(RunCMake_TEST_FAILED "No -target=arm64-apple-macosx flag found!")
elseif(actual_stdout MATCHES " (-arch +[^ ]*)")
  set(RunCMake_TEST_FAILED "'${CMAKE_MATCH_1}' flag incorrectly found!")
endif()