summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCCompilerId.c.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-01-04 20:44:56 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-01-04 20:44:56 (GMT)
commit79f5a7c0981757ed94fc618b2615cbc938254574 (patch)
tree734db19f1ae15f6c0b9a3f9b04f5196de5beab22 /Modules/CMakeCCompilerId.c.in
parent61063f12eb4dec062882f3fee1f65f045a2b9442 (diff)
parentdbc79bd8c8d5b9ef078401064db9bb0554affbcf (diff)
downloadCMake-79f5a7c0981757ed94fc618b2615cbc938254574.zip
CMake-79f5a7c0981757ed94fc618b2615cbc938254574.tar.gz
CMake-79f5a7c0981757ed94fc618b2615cbc938254574.tar.bz2
Merge topic 'compiler-id-literal-const'
dbc79bd Fix constness in compiler id detection
Diffstat (limited to 'Modules/CMakeCCompilerId.c.in')
-rw-r--r--Modules/CMakeCCompilerId.c.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeCCompilerId.c.in b/Modules/CMakeCCompilerId.c.in
index ff48d62..c7778fb 100644
--- a/Modules/CMakeCCompilerId.c.in
+++ b/Modules/CMakeCCompilerId.c.in
@@ -91,7 +91,7 @@
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
-char* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
+char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
@CMAKE_C_COMPILER_ID_PLATFORM_CONTENT@