diff options
author | Brad King <brad.king@kitware.com> | 2020-05-01 12:24:12 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-05-01 12:24:21 (GMT) |
commit | e776ff0582a56ed8b5e39f780a35dbdb2c578366 (patch) | |
tree | d72c8953b934122a60f34f79ebac7eff4634e14c /Source/Checks/cm_cxx_features.cmake | |
parent | 79b5cf8576b257ed22b1a35fa651b56f4ba70681 (diff) | |
parent | 231637eae2c7cf762155451f61c1e34fdb30ddd8 (diff) | |
download | CMake-e776ff0582a56ed8b5e39f780a35dbdb2c578366.zip CMake-e776ff0582a56ed8b5e39f780a35dbdb2c578366.tar.gz CMake-e776ff0582a56ed8b5e39f780a35dbdb2c578366.tar.bz2 |
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
Diffstat (limited to 'Source/Checks/cm_cxx_features.cmake')
-rw-r--r-- | Source/Checks/cm_cxx_features.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Checks/cm_cxx_features.cmake b/Source/Checks/cm_cxx_features.cmake index 358c5c5..50ccc7c 100644 --- a/Source/Checks/cm_cxx_features.cmake +++ b/Source/Checks/cm_cxx_features.cmake @@ -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. |