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/cmlibarchive | |
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/cmlibarchive')
-rw-r--r-- | Utilities/cmlibarchive/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt index 6d6c1fb..689d98a 100644 --- a/Utilities/cmlibarchive/CMakeLists.txt +++ b/Utilities/cmlibarchive/CMakeLists.txt @@ -94,7 +94,7 @@ SET(CMAKE_REQUIRED_FLAGS) # 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") |