summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorvvs31415 <vvs31415@gitlab.org>2020-09-28 16:00:00 (GMT)
committervvs31415 <vvs31415@gitlab.org>2020-09-28 16:32:22 (GMT)
commitd298ae74701364232ea324975019e37db47a095c (patch)
tree13e03834f686c627c712e9c9a7cfc8aaaddf68b7 /Source/cmGlobalVisualStudio7Generator.cxx
parent1b03ac7da76c05bfa60e5fcf95aa2bfdf64f27cf (diff)
downloadCMake-d298ae74701364232ea324975019e37db47a095c.zip
CMake-d298ae74701364232ea324975019e37db47a095c.tar.gz
CMake-d298ae74701364232ea324975019e37db47a095c.tar.bz2
cmake::GetCacheDefinition: Return cmProp
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index 84cfaeb..6267205 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -625,9 +625,9 @@ std::string cmGlobalVisualStudio7Generator::WriteUtilityDepend(
std::string cmGlobalVisualStudio7Generator::GetGUID(std::string const& name)
{
std::string const& guidStoreName = name + "_GUID_CMAKE";
- if (const char* storedGUID =
+ if (cmProp storedGUID =
this->CMakeInstance->GetCacheDefinition(guidStoreName)) {
- return std::string(storedGUID);
+ return *storedGUID;
}
// Compute a GUID that is deterministic but unique to the build tree.
std::string input =