CMake: Mark configuration items that were taken from the CMakeCache.txt file

Change-Id: Id9e707d7b07d35ade44959955db61810e34f7b30
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Tobias Hunger
2017-01-18 16:53:01 +01:00
parent 0f7d75ccf5
commit df62701801
5 changed files with 15 additions and 6 deletions

View File

@@ -332,6 +332,10 @@ CMakeConfig BuildDirManager::parsedConfiguration() const
return m_cmakeCache;
if (m_cmakeCache.isEmpty())
m_cmakeCache = m_reader->takeParsedConfiguration();
for (auto &ci : m_cmakeCache)
ci.inCMakeCache = true;
return m_cmakeCache;
}