summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive
diff options
context:
space:
mode:
authorAaron Liu <hualilia@ca.ibm.com>2021-12-02 15:34:01 (GMT)
committerBrad King <brad.king@kitware.com>2022-01-27 14:38:01 (GMT)
commit24da80b70a46be8373236982d195cf1b877865d6 (patch)
tree64f1446f50f22750356d59c0b9d7ce0b182fa6bf /Utilities/cmlibarchive
parent6da99e671c59a5b5b4731020cc286bb873a8134e (diff)
downloadCMake-24da80b70a46be8373236982d195cf1b877865d6.zip
CMake-24da80b70a46be8373236982d195cf1b877865d6.tar.gz
CMake-24da80b70a46be8373236982d195cf1b877865d6.tar.bz2
Utilities: Suppress warnings in third-party code with IBMClang
Diffstat (limited to 'Utilities/cmlibarchive')
-rw-r--r--Utilities/cmlibarchive/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt
index c1ac991..c2aa182 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|LCC|Clang|AppleClang|XLClang|XL|VisualAge|SunPro|HP|Intel|IntelLLVM|NVHPC)$")
+ "^(GNU|LCC|Clang|AppleClang|IBMClang|XLClang|XL|VisualAge|SunPro|HP|Intel|IntelLLVM|NVHPC)$")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w")
ELSEIF(CMAKE_C_COMPILER_ID STREQUAL "PathScale")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -woffall")