diff options
author | Aaron Liu <hualilia@ca.ibm.com> | 2021-12-02 15:34:01 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-01-27 14:38:01 (GMT) |
commit | 24da80b70a46be8373236982d195cf1b877865d6 (patch) | |
tree | 64f1446f50f22750356d59c0b9d7ce0b182fa6bf /Utilities/cmzstd | |
parent | 6da99e671c59a5b5b4731020cc286bb873a8134e (diff) | |
download | CMake-24da80b70a46be8373236982d195cf1b877865d6.zip CMake-24da80b70a46be8373236982d195cf1b877865d6.tar.gz CMake-24da80b70a46be8373236982d195cf1b877865d6.tar.bz2 |
Utilities: Suppress warnings in third-party code with IBMClang
Diffstat (limited to 'Utilities/cmzstd')
-rw-r--r-- | Utilities/cmzstd/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmzstd/CMakeLists.txt b/Utilities/cmzstd/CMakeLists.txt index 1ba263a..981e3d5 100644 --- a/Utilities/cmzstd/CMakeLists.txt +++ b/Utilities/cmzstd/CMakeLists.txt @@ -2,7 +2,7 @@ project(zstd C) # 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") |