summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileExecutableTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-02-21 14:25:30 (GMT)
committerBrad King <brad.king@kitware.com>2014-02-24 18:44:24 (GMT)
commitb4aac0caca76c7d2041556785799b5ea1bbf1ce7 (patch)
tree111998344d4947512e6f1317704aab1fd41f9812 /Source/cmMakefileExecutableTargetGenerator.cxx
parentfb5b48bb2741424e184cfa1c5e8026372714df96 (diff)
downloadCMake-b4aac0caca76c7d2041556785799b5ea1bbf1ce7.zip
CMake-b4aac0caca76c7d2041556785799b5ea1bbf1ce7.tar.gz
CMake-b4aac0caca76c7d2041556785799b5ea1bbf1ce7.tar.bz2
Makefile: Fix per-config linker PDB output directory
Also, now that all call sites of cmTarget::GetPDBName and cmTarget::GetPDBDirectory pass the configuration, make the argument non-optional.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileExecutableTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx
index 69b8092..664d73e 100644
--- a/Source/cmMakefileExecutableTargetGenerator.cxx
+++ b/Source/cmMakefileExecutableTargetGenerator.cxx
@@ -129,7 +129,7 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink)
}
}
- std::string pdbOutputPath = this->Target->GetPDBDirectory();
+ std::string pdbOutputPath = this->Target->GetPDBDirectory(this->ConfigName);
cmSystemTools::MakeDirectory(pdbOutputPath.c_str());
pdbOutputPath += "/";