Merge topic 'refactor-flags'

41925efe cmGeneratorTarget: Fix Fortran module directory regression
This commit is contained in:
Brad King 2016-06-21 13:56:59 -04:00 committed by CMake Topic Stage
commit b70f18379b
1 changed files with 1 additions and 1 deletions

View File

@ -3855,7 +3855,7 @@ std::string cmGeneratorTarget::GetFortranModuleDirectory() const
std::string cmGeneratorTarget::CreateFortranModuleDirectory() const
{
static std::string mod_dir;
std::string mod_dir;
const char* target_mod_dir = this->GetProperty("Fortran_MODULE_DIRECTORY");
const char* moddir_flag =
this->Makefile->GetDefinition("CMAKE_Fortran_MODDIR_FLAG");