summaryrefslogtreecommitdiffstats
path: root/Utilities/cmjsoncpp
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/cmjsoncpp
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/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 16613d4..c384f4e 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")