ENH: try compiles in CXX require C to be enabled as well
This commit is contained in:
parent
ca5e9e6415
commit
878609935a
@ -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 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user