diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-07-14 18:16:46 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-07-14 18:16:46 (GMT) |
commit | 3d1c12b802c3dd3a0284f5f10aec3b98ab6d3a78 (patch) | |
tree | 7f54a15847997cffa6979fb9267263a01029cd48 /Source/cmLocalVisualStudio10Generator.cxx | |
parent | b23b1800a586b0afb316f92d9bde82896c804ef5 (diff) | |
download | CMake-3d1c12b802c3dd3a0284f5f10aec3b98ab6d3a78.zip CMake-3d1c12b802c3dd3a0284f5f10aec3b98ab6d3a78.tar.gz CMake-3d1c12b802c3dd3a0284f5f10aec3b98ab6d3a78.tar.bz2 |
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.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmLocalVisualStudio10Generator.cxx b/Source/cmLocalVisualStudio10Generator.cxx index d8f35f1..44318f4 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; |