diff options
author | Robert Griebl <robert.griebl@qt.io> | 2021-06-26 01:23:31 +0200 |
---|---|---|
committer | Robert Griebl <robert.griebl@qt.io> | 2021-06-28 13:32:03 +0200 |
commit | 5784707989188dc9a60f7c6d4f76c20a59b3368d (patch) | |
tree | f765258480a3f3843e556b1ce89f729880fa09ee /examples/applicationmanager/application-features/CMakeLists.txt | |
parent | 031f22d8d2b5d616d781121710c8de4aef86e367 (diff) |
Fix a few problems with the ConfigCache
- one of the cmake porting commits introduced a bogus cache.clear()
- not making a copy for the merged cache part leads to memory issues.
Non-merged caches (e.g. PackageInfo) don't need (and can't support)
this clone() functionality, so we're using SFINAE there.
- only accept a merged cache, if the cached data exactly matches the
current state
- if it doesn't, ignore the merged cache, but still pick whatever parts
are available
Change-Id: I197e964c0b56f0c3d7cb48fd18446fa90a84ddc9
Pick-to: 5.15
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Diffstat (limited to 'examples/applicationmanager/application-features/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions