Commit 87860993 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: try compiles in CXX require C to be enabled as well

parent ca5e9e64
...@@ -154,7 +154,7 @@ int cmTryCompileCommand::CoreTryCompileCode( ...@@ -154,7 +154,7 @@ int cmTryCompileCommand::CoreTryCompileCode(
} }
else if ( format == cmSystemTools::CXX_FILE_FORMAT ) 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 ) else if ( format == cmSystemTools::FORTRAN_FILE_FORMAT )
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment