summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/CMakeCCompilerId.c2
-rw-r--r--Modules/CMakeCXXCompilerId.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeCCompilerId.c b/Modules/CMakeCCompilerId.c
index 08a4128..0d8a215 100644
--- a/Modules/CMakeCCompilerId.c
+++ b/Modules/CMakeCCompilerId.c
@@ -22,7 +22,7 @@ static char const info_compiler[] = "INFO:compiler["
#elif defined(__IBMC__)
"VisualAge"
#elif defined(__GNUC__)
-"GNUC"
+"GNU"
#elif defined(_MSC_VER)
"MSVC"
#elif defined(_COMPILER_VERSION)
diff --git a/Modules/CMakeCXXCompilerId.cpp b/Modules/CMakeCXXCompilerId.cpp
index 87baea2..183950f 100644
--- a/Modules/CMakeCXXCompilerId.cpp
+++ b/Modules/CMakeCXXCompilerId.cpp
@@ -23,7 +23,7 @@ static char const info_compiler[] = "INFO:compiler["
#elif defined(__IBMCPP__)
"VisualAge"
#elif defined(__GNUC__)
-"GNUC"
+"GNU"
#elif defined(_MSC_VER)
"MSVC"
#elif defined(_COMPILER_VERSION)