diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2021-09-10 13:47:23 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-09-10 13:47:39 (GMT) |
commit | 9488f8a7b7c4b4f180d16cde8a819a7a5216ef56 (patch) | |
tree | 1c90c2fec972d3d1589e580a55b8a04bff9e74a6 /Source/cmIncludeExternalMSProjectCommand.cxx | |
parent | 293070c325ec4cb91668dbe75dd259b7dfb0aa7d (diff) | |
parent | f84193292cb36e26d13a3f1f56a1539f088e8827 (diff) | |
download | CMake-9488f8a7b7c4b4f180d16cde8a819a7a5216ef56.zip CMake-9488f8a7b7c4b4f180d16cde8a819a7a5216ef56.tar.gz CMake-9488f8a7b7c4b4f180d16cde8a819a7a5216ef56.tar.bz2 |
Merge topic 'enh-AddCacheEntry-accepts-new-types'
f84193292c Use new AddCacheEntry signatures
3c2e58eeb8 AddCacheEntry accept cmProp or std::string
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6495
Diffstat (limited to 'Source/cmIncludeExternalMSProjectCommand.cxx')
-rw-r--r-- | Source/cmIncludeExternalMSProjectCommand.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmIncludeExternalMSProjectCommand.cxx b/Source/cmIncludeExternalMSProjectCommand.cxx index 5b532ce..c8b4a39 100644 --- a/Source/cmIncludeExternalMSProjectCommand.cxx +++ b/Source/cmIncludeExternalMSProjectCommand.cxx @@ -77,9 +77,8 @@ bool cmIncludeExternalMSProjectCommand(std::vector<std::string> const& args, if (!customGuid.empty()) { std::string guidVariable = utility_name + "_GUID_CMAKE"; - mf.GetCMakeInstance()->AddCacheEntry(guidVariable, customGuid.c_str(), - "Stored GUID", - cmStateEnums::INTERNAL); + mf.GetCMakeInstance()->AddCacheEntry( + guidVariable, customGuid, "Stored GUID", cmStateEnums::INTERNAL); } // Create a target instance for this utility. |