Commit 1726c5c0 authored by Sergey Vidyuk's avatar Sergey Vidyuk Committed by Aleix Pol Gonzalez

Update global vars when visiting set(..CACHE..FORCE) AST node

REVIEW: 111133
parent ce1dde3b
......@@ -512,7 +512,7 @@ int CMakeProjectVisitor::visit(const SetAst *set)
if(set->storeInCache()) {
QStringList values;
CacheValues::const_iterator itCache= m_cache->constFind(set->variableName());
if(!set->forceStoring() && itCache!=m_cache->constEnd())
values = itCache->value.split(';');
values = set->values();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment