diff options
author | Brad King <brad.king@kitware.com> | 2021-04-19 15:06:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-04-20 15:44:25 (GMT) |
commit | 408e6d6185427dc57470f5685e9774e579bd6283 (patch) | |
tree | 5963e511c7658897b5f72aec588abe4df495f169 /Utilities/cmjsoncpp/CMakeLists.txt | |
parent | 995be1097c35fd3187d147494156bbfb9da7037f (diff) | |
download | CMake-408e6d6185427dc57470f5685e9774e579bd6283.zip CMake-408e6d6185427dc57470f5685e9774e579bd6283.tar.gz CMake-408e6d6185427dc57470f5685e9774e579bd6283.tar.bz2 |
Utilities: Suppress warnings in third-party code with NVHPC
Diffstat (limited to 'Utilities/cmjsoncpp/CMakeLists.txt')
-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 74e9988..029ae86 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|IntelLLVM)$") + "^(GNU|Clang|AppleClang|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") |