diff options
author | Brad King <brad.king@kitware.com> | 2016-06-21 17:56:59 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-06-21 17:56:59 (GMT) |
commit | b70f18379bf6225ed821fdf530bf0dc4a244112f (patch) | |
tree | 4b10384a6ad3859b1bf65d8f14ac0c38ced2c5b9 /Source | |
parent | 76c186b72fc233d96643c078b00756dfaa69fa66 (diff) | |
parent | 41925efe760a2e84e85b52f513668c9c46ed2744 (diff) | |
download | CMake-b70f18379bf6225ed821fdf530bf0dc4a244112f.zip CMake-b70f18379bf6225ed821fdf530bf0dc4a244112f.tar.gz CMake-b70f18379bf6225ed821fdf530bf0dc4a244112f.tar.bz2 |
Merge topic 'refactor-flags'
41925efe cmGeneratorTarget: Fix Fortran module directory regression
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 15b44a6..9a025d9 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -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"); |