summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-07-29 20:38:06 (GMT)
committerBrad King <brad.king@kitware.com>2009-07-29 20:38:06 (GMT)
commit35f36727c5b042636155ae49b8fbf61fcfc9203f (patch)
treec070ce5e332dd16c8841bd03c1591de7a3cf23eb /Modules/Compiler
parentf47ae0599d63d74e964a042cc31ac6917b0f489b (diff)
downloadCMake-35f36727c5b042636155ae49b8fbf61fcfc9203f.zip
CMake-35f36727c5b042636155ae49b8fbf61fcfc9203f.tar.gz
CMake-35f36727c5b042636155ae49b8fbf61fcfc9203f.tar.bz2
Set CMAKE_<LANG>_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.
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/PGI-C.cmake1
-rw-r--r--Modules/Compiler/PGI-CXX.cmake1
-rw-r--r--Modules/Compiler/PGI-Fortran.cmake1
3 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Compiler/PGI-C.cmake b/Modules/Compiler/PGI-C.cmake
new file mode 100644
index 0000000..abf384a
--- /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 0000000..f3c6b5f
--- /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 0000000..7f7c128
--- /dev/null
+++ b/Modules/Compiler/PGI-Fortran.cmake
@@ -0,0 +1 @@
+SET(CMAKE_Fortran_VERBOSE_FLAG "-v")