diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2022-06-19 15:04:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-06-21 14:48:37 (GMT) |
commit | 116cc5a57b7c9e99f074768231fb124121bbc66c (patch) | |
tree | d4a2c622e54c6fa4ae9220f1fffc5f93be3b3974 /Source/Checks | |
parent | 27874273061fa74d3bcc860769fb1eae42eba0fe (diff) | |
download | CMake-116cc5a57b7c9e99f074768231fb124121bbc66c.zip CMake-116cc5a57b7c9e99f074768231fb124121bbc66c.tar.gz CMake-116cc5a57b7c9e99f074768231fb124121bbc66c.tar.bz2 |
cm_cxx_features: filter out warnings from Xcode 14
```
xcodebuild[13070:54426] [MT] DVTSDK: Warning: SDK path collision for path
```
Diffstat (limited to 'Source/Checks')
-rw-r--r-- | Source/Checks/cm_cxx_features.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Checks/cm_cxx_features.cmake b/Source/Checks/cm_cxx_features.cmake index f20572e..c88f5a3 100644 --- a/Source/Checks/cm_cxx_features.cmake +++ b/Source/Checks/cm_cxx_features.cmake @@ -48,7 +48,7 @@ function(cm_check_cxx_feature name) # Filter out libhugetlbfs warnings. string(REGEX REPLACE "[^\n]*libhugetlbfs [^\n]*: WARNING[^\n]*" "" check_output "${check_output}") # Filter out xcodebuild warnings. - string(REGEX REPLACE "[^\n]* xcodebuild\\[[0-9]*:[0-9]*\\] warning: [^\n]*" "" check_output "${check_output}") + string(REGEX REPLACE "[^\n]* xcodebuild\\[[0-9]*:[0-9]*\\][^\n]*[Ww]arning: [^\n]*" "" check_output "${check_output}") # Filter out icpc warnings string(REGEX REPLACE "[^\n]*icpc: command line warning #10121: overriding [^\n]*" "" check_output "${check_output}") # Filter out ld warnings. |