summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-01-09 19:54:45 (GMT)
committerBrad King <brad.king@kitware.com>2012-01-09 19:54:45 (GMT)
commit655a7dd1d41ac9d44d1f6455959809230bddcd78 (patch)
tree5db10e761ad556b965a418a826a223d68fa81fb6 /Source
parent9362400d20cd77b0489f26dcdf852c0fe4b51861 (diff)
downloadCMake-655a7dd1d41ac9d44d1f6455959809230bddcd78.zip
CMake-655a7dd1d41ac9d44d1f6455959809230bddcd78.tar.gz
CMake-655a7dd1d41ac9d44d1f6455959809230bddcd78.tar.bz2
VS10: Fix /pdb option vcxproj element name (#12328)
The compiler tool uses "ProgramDataBaseFileName" but the linker tool uses just "ProgramDataBaseFile". Fix the generator accordingly.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index a219ae9..449adc1 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -1490,7 +1490,7 @@ void cmVisualStudio10TargetGenerator::WriteLinkOptions(std::string const&
imLib += targetNameImport;
linkOptions.AddFlag("ImportLibrary", imLib.c_str());
- linkOptions.AddFlag("ProgramDataBaseFileName", pdb.c_str());
+ linkOptions.AddFlag("ProgramDataBaseFile", pdb.c_str());
linkOptions.Parse(flags.c_str());
if(!this->ModuleDefinitionFile.empty())
{