aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp
diff options
context:
space:
mode:
authorAlexander Drozdov <adrozdoff@gmail.com>2016-03-17 20:05:30 +1000
committerAlexander Drozdov <adrozdoff@gmail.com>2016-03-17 22:26:31 +0000
commit93c1840740b446871a694d2574c06ebf5170579f (patch)
treea52f619404e8b0b47136750d6619e60bf9df2fb7 /src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp
parent00119ab509d3a8f0a7cec04adcaa5e8637106bd8 (diff)
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>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp
index 2a2376f1487..7181db157bc 100644
--- a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp
@@ -117,7 +117,6 @@ void CMakeManager::clearCMakeCache(Project *project)
if (!bc)
return;
- bc->setCMakeConfiguration(CMakeConfigurationKitInformation::configuration(bc->target()->kit()));
bc->buildDirManager()->clearCache();
}