summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-01-27 19:57:30 (GMT)
committerBrad King <brad.king@kitware.com>2021-01-28 14:07:00 (GMT)
commit87909f0600f635a86ae4152868e7fed51d502d3d (patch)
tree452d6bd9ff7956b4f6d96eb09dc36ca43cce5537 /Source/CursesDialog
parenta90d2a9eed202b58b72776f9beb0569e92c90d21 (diff)
downloadCMake-87909f0600f635a86ae4152868e7fed51d502d3d.zip
CMake-87909f0600f635a86ae4152868e7fed51d502d3d.tar.gz
CMake-87909f0600f635a86ae4152868e7fed51d502d3d.tar.bz2
Utilities: Suppress warnings in third-party code when using IntelLLVM
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r--Source/CursesDialog/form/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/form/CMakeLists.txt b/Source/CursesDialog/form/CMakeLists.txt
index 21c499e..8f26b9a 100644
--- a/Source/CursesDialog/form/CMakeLists.txt
+++ b/Source/CursesDialog/form/CMakeLists.txt
@@ -5,7 +5,7 @@ project(CMAKE_FORM)
# 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")