diff options
author | Brad King <brad.king@kitware.com> | 2024-03-12 13:27:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-03-12 13:29:45 (GMT) |
commit | 7bf893bc304be87c404d13d8267f1a6ec61f35aa (patch) | |
tree | b323d2cf405d4d525af03bf76e7c81634bae9939 | |
parent | 7f5f0ab4b315488e0e4b7a4bd36a072024ecfed7 (diff) | |
download | CMake-7bf893bc304be87c404d13d8267f1a6ec61f35aa.zip CMake-7bf893bc304be87c404d13d8267f1a6ec61f35aa.tar.gz CMake-7bf893bc304be87c404d13d8267f1a6ec61f35aa.tar.bz2 |
Tests: Update RunCMake.CheckCompilerFlag for Xcode 15.3
Xcode passes a new `-use-frontend-parseable-output` flag to Swift that
conflicts with our `-parseable-output` flag. Use a different flag for
the test case.
-rw-r--r-- | Tests/RunCMake/CheckCompilerFlag/CheckCompilerFlagSwift.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/CheckCompilerFlag/CheckCompilerFlagSwift.cmake b/Tests/RunCMake/CheckCompilerFlag/CheckCompilerFlagSwift.cmake index 23b3006..676d64a 100644 --- a/Tests/RunCMake/CheckCompilerFlag/CheckCompilerFlagSwift.cmake +++ b/Tests/RunCMake/CheckCompilerFlag/CheckCompilerFlagSwift.cmake @@ -12,9 +12,9 @@ if(SHOULD_FAIL) message(SEND_ERROR "invalid Swift compile flag didn't fail.") endif() -check_compiler_flag(Swift "-parseable-output" SHOULD_WORK) +check_compiler_flag(Swift "-Onone" SHOULD_WORK) if(NOT SHOULD_WORK) - message(SEND_ERROR "Swift compiler flag '-parseable-output' check failed") + message(SEND_ERROR "Swift compiler flag '-Onone' check failed") endif() # Reset locale |