cmGeneratorTarget: Correctly set FortranModuleDirectoryCreated

This commit is contained in:
Daniel Pfeifer 2016-11-06 00:11:03 +01:00
parent bac93dcf19
commit 0cd654c8e2

View File

@ -3947,6 +3947,7 @@ std::string cmGeneratorTarget::GetFortranModuleDirectory(
if (!this->FortranModuleDirectoryCreated) {
this->FortranModuleDirectory =
this->CreateFortranModuleDirectory(working_dir);
this->FortranModuleDirectoryCreated = true;
}
return this->FortranModuleDirectory;