From 878609935a9e7b51139c3b7872b48c473638d0b7 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 26 Aug 2004 17:49:04 -0400 Subject: [PATCH] ENH: try compiles in CXX require C to be enabled as well --- Source/cmTryCompileCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx index 47c3bd4e7..e20ad7ecf 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 ) {