summaryrefslogtreecommitdiff
path: root/Source/cmLocalVisualStudio10Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-07-14 14:16:46 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2009-07-14 14:16:46 -0400
commit3d1c12b802c3dd3a0284f5f10aec3b98ab6d3a78 (patch)
tree7f54a15847997cffa6979fb9267263a01029cd48 /Source/cmLocalVisualStudio10Generator.cxx
parentb23b1800a586b0afb316f92d9bde82896c804ef5 (diff)
downloadcmake-3d1c12b802c3dd3a0284f5f10aec3b98ab6d3a78.tar.gz
ENH: remove INCLUDE_EXTERNAL_MSPROJECT name hack, and use target properties instead, fix VXExternalInclude test for VS10
Diffstat (limited to 'Source/cmLocalVisualStudio10Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio10Generator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmLocalVisualStudio10Generator.cxx b/Source/cmLocalVisualStudio10Generator.cxx
index d8f35f1551..44318f4edf 100644
--- a/Source/cmLocalVisualStudio10Generator.cxx
+++ b/Source/cmLocalVisualStudio10Generator.cxx
@@ -31,7 +31,7 @@ class cmVS10XMLParser : public cmXMLParser
{
if(this->DoGUID )
{
- this->GUID.assign(data, length);
+ this->GUID.assign(data+1, length-2);
this->DoGUID = false;
}
}
@@ -112,7 +112,6 @@ void cmLocalVisualStudio10Generator
::ReadAndStoreExternalGUID(const char* name,
const char* path)
{
-
cmVS10XMLParser parser;
parser.ParseFile(path);
std::string guidStoreName = name;