mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
server-mode: Fix regression in cache entry reporting
Refactoring in commit 0bf0e35e59 (cmCacheManager::GetProperty: return
cmProp, 2020-03-19) changed the return type of GetCacheEntryValue.
Update the server mode's call site accordingly.
This commit is contained in:
committed by
Brad King
parent
6b208d873e
commit
d606b19f7d
@@ -446,7 +446,7 @@ cmServerResponse cmServerProtocol1::ProcessCache(
|
||||
entry[kKEY_KEY] = key;
|
||||
entry[kTYPE_KEY] =
|
||||
cmState::CacheEntryTypeToString(state->GetCacheEntryType(key));
|
||||
entry[kVALUE_KEY] = state->GetCacheEntryValue(key);
|
||||
entry[kVALUE_KEY] = *state->GetCacheEntryValue(key);
|
||||
|
||||
Json::Value props = Json::objectValue;
|
||||
bool haveProperties = false;
|
||||
|
||||
Reference in New Issue
Block a user