summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmGlobalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 2bd0cb2..bf80555 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -386,7 +386,7 @@ cmGlobalGenerator::EnableLanguage(std::vector<std::string>const& languages,
// so that it will get tested the next time cmake is run
if(!mf->IsOn(compilerWorks.c_str()))
{
- std::string fpath = rootBin;
+ fpath = rootBin;
fpath += "/CMake";
fpath += lang;
fpath += "Compiler.cmake";