mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-07 04:02:23 +03:00
server-mode: Do not ignore the first cacheArgument on configure
SetCacheArgs skips the first argument it gets, so add some padding before calling it.
This commit is contained in:
1 parent
db3499df5d
commit
28e891f0c7
1 file changed
+1
-1
@@ -923,7 +923,7 @@ cmServerResponse cmServerProtocol1_0::ProcessConfigure(
|
||||
}
|
||||
|
||||
// Make sure the types of cacheArguments matches (if given):
|
||||
std::vector<std::string> cacheArgs;
|
||||
std::vector<std::string> cacheArgs = { "unused" };
|
||||
bool cacheArgumentsError = false;
|
||||
const Json::Value passedArgs = request.Data[kCACHE_ARGUMENTS_KEY];
|
||||
if (!passedArgs.isNull()) {
|
||||
|
||||
Reference in new issue
Block a user