CMake: omit configuration dropping on cache clear

Setting CMake configuration to the provided by the Kit, drops all users
settings to the default one. CMAKE_BUILD_TYPE too.

Change-Id: I8be556f553376273933872a74e47937df5a74f30
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Alexander Drozdov
2016-03-17 20:05:30 +10:00
parent 00119ab509
commit 93c1840740

View File

@@ -117,7 +117,6 @@ void CMakeManager::clearCMakeCache(Project *project)
if (!bc)
return;
bc->setCMakeConfiguration(CMakeConfigurationKitInformation::configuration(bc->target()->kit()));
bc->buildDirManager()->clearCache();
}