summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-04-21 14:43:27 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-04-21 14:43:33 (GMT)
commitc44066f3b0b8beef317822ea1ac417e4f6ddbcec (patch)
treea0b7faa4fef6f2b6738dbc9773612653e51f13ca /Source
parente9d37efd28b0e7b7cd03e6ebb1450ecf0035f43f (diff)
parent46d4c8e4df69ebba1d9fa711896e471a5bfbbafa (diff)
downloadCMake-c44066f3b0b8beef317822ea1ac417e4f6ddbcec.zip
CMake-c44066f3b0b8beef317822ea1ac417e4f6ddbcec.tar.gz
CMake-c44066f3b0b8beef317822ea1ac417e4f6ddbcec.tar.bz2
Merge topic 'nvhpc-warnings'
46d4c8e4df CTestCustom: Ignore warning from FD_ZERO macro on NVHPC 408e6d6185 Utilities: Suppress warnings in third-party code with NVHPC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6019
Diffstat (limited to 'Source')
-rw-r--r--Source/CursesDialog/form/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/form/CMakeLists.txt b/Source/CursesDialog/form/CMakeLists.txt
index 8f26b9a..9202bc1 100644
--- a/Source/CursesDialog/form/CMakeLists.txt
+++ b/Source/CursesDialog/form/CMakeLists.txt
@@ -5,7 +5,7 @@ project(CMAKE_FORM)
# 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")