forked from qt-creator/qt-creator
CMake: Make the project override the kit, not the other way around
Change-Id: I26fbe90f9c5f9f46bf7a3be2e4a23c6e02a6eead Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Tim Jenssen
parent
01e80b264b
commit
fb55efd9e2
@@ -382,7 +382,7 @@ void CMakeBuildConfiguration::setCMakeConfiguration(const CMakeConfig &config)
|
||||
|
||||
CMakeConfig CMakeBuildConfiguration::cmakeConfiguration() const
|
||||
{
|
||||
return removeDuplicates(m_configuration + CMakeConfigurationKitInformation::configuration(target()->kit()));
|
||||
return removeDuplicates(CMakeConfigurationKitInformation::configuration(target()->kit()) + m_configuration);
|
||||
}
|
||||
|
||||
void CMakeBuildConfiguration::setError(const QString &message)
|
||||
|
||||
Reference in New Issue
Block a user