summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmTryCompileCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx
index 47c3bd4..e20ad7e 100644
--- a/Source/cmTryCompileCommand.cxx
+++ b/Source/cmTryCompileCommand.cxx
@@ -154,7 +154,7 @@ int cmTryCompileCommand::CoreTryCompileCode(
}
else if ( format == cmSystemTools::CXX_FILE_FORMAT )
{
- fprintf(fout, "PROJECT(CMAKE_TRY_COMPILE CXX)\n");
+ fprintf(fout, "PROJECT(CMAKE_TRY_COMPILE C CXX)\n");
}
else if ( format == cmSystemTools::FORTRAN_FILE_FORMAT )
{