diff options
| author | Brad King <brad.king@kitware.com> | 2021-04-19 11:06:04 -0400 |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2021-04-20 11:44:25 -0400 |
| commit | 408e6d6185427dc57470f5685e9774e579bd6283 (patch) | |
| tree | 5963e511c7658897b5f72aec588abe4df495f169 /Utilities/cmexpat | |
| parent | 995be1097c35fd3187d147494156bbfb9da7037f (diff) | |
| download | cmake-408e6d6185427dc57470f5685e9774e579bd6283.tar.gz | |
Utilities: Suppress warnings in third-party code with NVHPC
Diffstat (limited to 'Utilities/cmexpat')
| -rw-r--r-- | Utilities/cmexpat/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmexpat/CMakeLists.txt b/Utilities/cmexpat/CMakeLists.txt index b8dc4e8cc4..904809683a 100644 --- a/Utilities/cmexpat/CMakeLists.txt +++ b/Utilities/cmexpat/CMakeLists.txt @@ -1,6 +1,6 @@ # Disable warnings to avoid changing 3rd party code. IF(CMAKE_C_COMPILER_ID MATCHES - "^(GNU|Clang|AppleClang|XLClang|XL|VisualAge|SunPro|HP|Intel|IntelLLVM)$") + "^(GNU|Clang|AppleClang|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") |
