summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-11-05 23:11:03 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-11-05 23:11:03 (GMT)
commit0cd654c8e23b19311bae876ada4ad5b432c1ad1b (patch)
tree93324bf4b8c2721720f8bfd973cfbf83ebcf8a61 /Source/cmGeneratorTarget.cxx
parentbac93dcf192d8680cd72570682d6593da9818088 (diff)
downloadCMake-0cd654c8e23b19311bae876ada4ad5b432c1ad1b.zip
CMake-0cd654c8e23b19311bae876ada4ad5b432c1ad1b.tar.gz
CMake-0cd654c8e23b19311bae876ada4ad5b432c1ad1b.tar.bz2
cmGeneratorTarget: Correctly set FortranModuleDirectoryCreated
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index ca3e373..f5db7f6 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -3947,6 +3947,7 @@ std::string cmGeneratorTarget::GetFortranModuleDirectory(
if (!this->FortranModuleDirectoryCreated) {
this->FortranModuleDirectory =
this->CreateFortranModuleDirectory(working_dir);
+ this->FortranModuleDirectoryCreated = true;
}
return this->FortranModuleDirectory;