diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-10-12 19:30:01 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-10-12 19:30:01 (GMT) |
commit | d5f31292b251ed3c7fc3a130693f5eb0f269a3bd (patch) | |
tree | 83bed2f61d444b15a1e6cff5f95a25e9139cf364 /Source/cmGlobalGenerator.cxx | |
parent | 9226a9262f3cdf75ad307ff9f1156f290d0f6a5f (diff) | |
download | CMake-d5f31292b251ed3c7fc3a130693f5eb0f269a3bd.zip CMake-d5f31292b251ed3c7fc3a130693f5eb0f269a3bd.tar.gz CMake-d5f31292b251ed3c7fc3a130693f5eb0f269a3bd.tar.bz2 |
BUG: Use variable instead of retrieving again. Fixes bug: Bug #3476
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 91ef6b3..49000b4 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1346,7 +1346,7 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets) if ( cmakeCfgIntDir && *cmakeCfgIntDir && cmakeCfgIntDir[0] != '.' ) { singleLine.push_back("-C"); - singleLine.push_back(mf->GetDefinition("CMAKE_CFG_INTDIR")); + singleLine.push_back(cmakeCfgIntDir); } singleLine.push_back("--config"); std::string configFile = mf->GetStartOutputDirectory();; |