Merge topic 'missing-fclose-in-trycompile'
ce441fa try_compile: add missing fclose() to recently added error case
This commit is contained in:
commit
8a2763b3ac
@ -326,6 +326,7 @@ int cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv)
|
|||||||
{
|
{
|
||||||
this->Makefile->IssueMessage(cmake::FATAL_ERROR,
|
this->Makefile->IssueMessage(cmake::FATAL_ERROR,
|
||||||
"could not write export file.");
|
"could not write export file.");
|
||||||
|
fclose(fout);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
fprintf(fout,
|
fprintf(fout,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user