summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/PGI-C.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Compiler/PGI-C.cmake')
-rw-r--r--Modules/Compiler/PGI-C.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/Compiler/PGI-C.cmake b/Modules/Compiler/PGI-C.cmake
index abf384a..da88c01 100644
--- a/Modules/Compiler/PGI-C.cmake
+++ b/Modules/Compiler/PGI-C.cmake
@@ -1 +1,4 @@
-SET(CMAKE_C_VERBOSE_FLAG "-v")
+include(Compiler/PGI)
+__compiler_pgi(C)
+set(CMAKE_C_FLAGS_MINSIZEREL_INIT "${CMAKE_C_FLAGS_MINSIZEREL_INIT} -DNDEBUG")
+set(CMAKE_C_FLAGS_RELEASE_INIT "${CMAKE_C_FLAGS_RELEASE_INIT} -DNDEBUG")