summaryrefslogtreecommitdiff
path: root/Modules/Compiler/NVHPC.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Compiler/NVHPC.cmake')
-rw-r--r--Modules/Compiler/NVHPC.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/NVHPC.cmake b/Modules/Compiler/NVHPC.cmake
index 474ac80efe..0593456ce7 100644
--- a/Modules/Compiler/NVHPC.cmake
+++ b/Modules/Compiler/NVHPC.cmake
@@ -13,5 +13,5 @@ include(Compiler/PGI)
macro(__compiler_nvhpc lang)
# Logic specific to NVHPC.
set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-isystem ")
- set(CMAKE_${lang}_COMPILE_OPTIONS_WARNING_AS_ERROR "-Werror" "all-warnings")
+ set(CMAKE_${lang}_COMPILE_OPTIONS_WARNING_AS_ERROR "-Werror")
endmacro()