ENH: make sure file is closed
This commit is contained in:
parent
81996dc4de
commit
4d0c0e6d64
|
@ -178,6 +178,7 @@ int cmTryCompileCommand::CoreTryCompileCode(
|
||||||
}
|
}
|
||||||
err << "\nSee PROJECT command for help enabling other languages.";
|
err << "\nSee PROJECT command for help enabling other languages.";
|
||||||
cmSystemTools::Error(err.str().c_str());
|
cmSystemTools::Error(err.str().c_str());
|
||||||
|
fclose(fout);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
std::string langFlags = "CMAKE_";
|
std::string langFlags = "CMAKE_";
|
||||||
|
|
Loading…
Reference in New Issue