mirror of
https://github.com/reactos/CMake.git
synced 2025-02-18 18:49:34 +00:00
Merge topic 'cm_cxx_features-icpc-10121'
231637eae2 cm_cxx_features: Filter out 'icpc: command line warning #10121' Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4698
This commit is contained in:
commit
e776ff0582
@ -32,6 +32,8 @@ function(cm_check_cxx_feature name)
|
||||
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}")
|
||||
# Filter out icpc warnings
|
||||
string(REGEX REPLACE "[^\n]*icpc: command line warning #10121: overriding [^\n]*" "" check_output "${check_output}")
|
||||
# Filter out ld warnings.
|
||||
string(REGEX REPLACE "[^\n]*ld: warning: [^\n]*" "" check_output "${check_output}")
|
||||
# If using the feature causes warnings, treat it as broken/unavailable.
|
||||
|
Loading…
x
Reference in New Issue
Block a user