diff options
author | Brad King <brad.king@kitware.com> | 2021-01-27 14:57:30 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-01-28 09:07:00 -0500 |
commit | 87909f0600f635a86ae4152868e7fed51d502d3d (patch) | |
tree | 452d6bd9ff7956b4f6d96eb09dc36ca43cce5537 /Utilities/cmjsoncpp | |
parent | a90d2a9eed202b58b72776f9beb0569e92c90d21 (diff) | |
download | cmake-87909f0600f635a86ae4152868e7fed51d502d3d.tar.gz |
Utilities: Suppress warnings in third-party code when using IntelLLVM
Diffstat (limited to 'Utilities/cmjsoncpp')
-rw-r--r-- | Utilities/cmjsoncpp/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmjsoncpp/CMakeLists.txt b/Utilities/cmjsoncpp/CMakeLists.txt index 764be8d55c..74e998823c 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|Clang|AppleClang|XLClang|XL|VisualAge|SunPro|HP|Intel)$") + "^(GNU|Clang|AppleClang|XLClang|XL|VisualAge|SunPro|HP|Intel|IntelLLVM)$") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w") elseif(CMAKE_CXX_COMPILER_ID STREQUAL "PathScale") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -woffall") |