From 35f36727c5b042636155ae49b8fbf61fcfc9203f Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 29 Jul 2009 16:38:06 -0400 Subject: [PATCH] Set CMAKE__VERBOSE_FLAG variables for PGI We set the variables to contain "-v", the verbose front-end output option for PGI compilers. This enables detection of implicit link libraries and directories for these compilers. --- Modules/Compiler/PGI-C.cmake | 1 + Modules/Compiler/PGI-CXX.cmake | 1 + Modules/Compiler/PGI-Fortran.cmake | 1 + 3 files changed, 3 insertions(+) create mode 100644 Modules/Compiler/PGI-C.cmake create mode 100644 Modules/Compiler/PGI-CXX.cmake create mode 100644 Modules/Compiler/PGI-Fortran.cmake diff --git a/Modules/Compiler/PGI-C.cmake b/Modules/Compiler/PGI-C.cmake new file mode 100644 index 000000000..abf384ab8 --- /dev/null +++ b/Modules/Compiler/PGI-C.cmake @@ -0,0 +1 @@ +SET(CMAKE_C_VERBOSE_FLAG "-v") diff --git a/Modules/Compiler/PGI-CXX.cmake b/Modules/Compiler/PGI-CXX.cmake new file mode 100644 index 000000000..f3c6b5f82 --- /dev/null +++ b/Modules/Compiler/PGI-CXX.cmake @@ -0,0 +1 @@ +SET(CMAKE_CXX_VERBOSE_FLAG "-v") diff --git a/Modules/Compiler/PGI-Fortran.cmake b/Modules/Compiler/PGI-Fortran.cmake new file mode 100644 index 000000000..7f7c1289a --- /dev/null +++ b/Modules/Compiler/PGI-Fortran.cmake @@ -0,0 +1 @@ +SET(CMAKE_Fortran_VERBOSE_FLAG "-v")