summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCXXCompilerId.cpp
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-09-17 19:55:17 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-09-17 19:55:17 (GMT)
commit4ee1ee1bd0d6b19feb5846bfeccdc39a90d52ac8 (patch)
tree911ac1b075af9be769d8999e61dec635b1257f4c /Modules/CMakeCXXCompilerId.cpp
parentf9391ab2916755b319dff4dd11282425b2c076cc (diff)
downloadCMake-4ee1ee1bd0d6b19feb5846bfeccdc39a90d52ac8.zip
CMake-4ee1ee1bd0d6b19feb5846bfeccdc39a90d52ac8.tar.gz
CMake-4ee1ee1bd0d6b19feb5846bfeccdc39a90d52ac8.tar.bz2
ENH: add support for the Portland Compiler to CMake, can build cmake and the tests pass (except the wrapping tests, which fail to link to the g++-compiled Qt)
Alex
Diffstat (limited to 'Modules/CMakeCXXCompilerId.cpp')
-rw-r--r--Modules/CMakeCXXCompilerId.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeCXXCompilerId.cpp b/Modules/CMakeCXXCompilerId.cpp
index 1f714d9..86d65bd 100644
--- a/Modules/CMakeCXXCompilerId.cpp
+++ b/Modules/CMakeCXXCompilerId.cpp
@@ -29,6 +29,9 @@
#elif defined(__IBMCPP__)
# define COMPILER_ID "VisualAge"
+#elif defined(__PGI)
+# define COMPILER_ID "PGI"
+
#elif defined(__GNUC__)
# define COMPILER_ID "GNU"