ENH: make sure file is closed

This commit is contained in:
Bill Hoffman 2006-10-03 13:22:30 -04:00
parent 81996dc4de
commit 4d0c0e6d64
1 changed files with 1 additions and 0 deletions

View File

@ -178,6 +178,7 @@ int cmTryCompileCommand::CoreTryCompileCode(
}
err << "\nSee PROJECT command for help enabling other languages.";
cmSystemTools::Error(err.str().c_str());
fclose(fout);
return -1;
}
std::string langFlags = "CMAKE_";