diff options
author | Brad King <brad.king@kitware.com> | 2021-01-27 19:57:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-01-28 14:07:00 (GMT) |
commit | 87909f0600f635a86ae4152868e7fed51d502d3d (patch) | |
tree | 452d6bd9ff7956b4f6d96eb09dc36ca43cce5537 /Utilities/cmlibuv | |
parent | a90d2a9eed202b58b72776f9beb0569e92c90d21 (diff) | |
download | CMake-87909f0600f635a86ae4152868e7fed51d502d3d.zip CMake-87909f0600f635a86ae4152868e7fed51d502d3d.tar.gz CMake-87909f0600f635a86ae4152868e7fed51d502d3d.tar.bz2 |
Utilities: Suppress warnings in third-party code when using IntelLLVM
Diffstat (limited to 'Utilities/cmlibuv')
-rw-r--r-- | Utilities/cmlibuv/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibuv/CMakeLists.txt b/Utilities/cmlibuv/CMakeLists.txt index 92d2411..f8b47af 100644 --- a/Utilities/cmlibuv/CMakeLists.txt +++ b/Utilities/cmlibuv/CMakeLists.txt @@ -2,7 +2,7 @@ project(libuv C) # Disable warnings to avoid changing 3rd party code. if(CMAKE_C_COMPILER_ID MATCHES - "^(GNU|Clang|AppleClang|XLClang|XL|VisualAge|SunPro|HP|Intel)$") + "^(GNU|Clang|AppleClang|XLClang|XL|VisualAge|SunPro|HP|Intel|IntelLLVM)$") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w") elseif(CMAKE_C_COMPILER_ID STREQUAL "PathScale") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -woffall") |