forked from qt-creator/qt-creator
CMake: Use current pattern to access main settings page
Change-Id: I95c556bebe1d583879b6702f727d9a859b9a4bcb Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -101,7 +101,7 @@ void CMakeProcess::run(const BuildDirParameters ¶meters, const QStringList &
|
||||
}
|
||||
|
||||
// Copy the "package-manager" CMake code from the ${IDE:ResourcePath} to the build directory
|
||||
if (Internal::CMakeSpecificSettings::instance()->packageManagerAutoSetup.value()) {
|
||||
if (settings().packageManagerAutoSetup()) {
|
||||
const FilePath localPackageManagerDir = buildDirectory.pathAppended(Constants::PACKAGE_MANAGER_DIR);
|
||||
const FilePath idePackageManagerDir = FilePath::fromString(
|
||||
parameters.expander->expand(QStringLiteral("%{IDE:ResourcePath}/package-manager")));
|
||||
|
||||
Reference in New Issue
Block a user