summaryrefslogtreecommitdiff
path: root/Utilities/cmjsoncpp
diff options
context:
space:
mode:
authorAaron Liu <hualilia@ca.ibm.com>2021-12-02 10:34:01 -0500
committerBrad King <brad.king@kitware.com>2022-01-27 09:38:01 -0500
commit24da80b70a46be8373236982d195cf1b877865d6 (patch)
tree64f1446f50f22750356d59c0b9d7ce0b182fa6bf /Utilities/cmjsoncpp
parent6da99e671c59a5b5b4731020cc286bb873a8134e (diff)
downloadcmake-24da80b70a46be8373236982d195cf1b877865d6.tar.gz
Utilities: Suppress warnings in third-party code with IBMClang
Diffstat (limited to 'Utilities/cmjsoncpp')
-rw-r--r--Utilities/cmjsoncpp/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmjsoncpp/CMakeLists.txt b/Utilities/cmjsoncpp/CMakeLists.txt
index 16613d421b..c384f4e1e5 100644
--- a/Utilities/cmjsoncpp/CMakeLists.txt
+++ b/Utilities/cmjsoncpp/CMakeLists.txt
@@ -2,7 +2,7 @@ project(JsonCpp CXX)
# Disable warnings to avoid changing 3rd party code.
if(CMAKE_CXX_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_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w")
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "PathScale")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -woffall")