aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2020-02-21 14:26:00 +0100
committerhjk <[email protected]>2020-02-24 12:57:03 +0000
commit0e48783c03c0322e9f25be7a219f7b4cdaa252a5 (patch)
treef9bfd177d474706cd50ee7fc221d3c4cf41d66c5 /src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp
parent4908055937697e9ba4ea681246dd62de2829d040 (diff)
CMake: Use buildConfiguration() instead of target()->activeBc
In case it does the same, it is faster now. In case it does't do the same, it was something wrong. Change-Id: Ic3c237a9349d490bcadb10a5e9f700d68a178dae Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp
index 3d9d4808c5a..493939dd89a 100644
--- a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp
@@ -273,7 +273,7 @@ QStringList CMakeBuildSystem::filesGeneratedFrom(const QString &sourceFile) cons
QDir srcDirRoot = QDir(project.toString());
QString relativePath = srcDirRoot.relativeFilePath(baseDirectory.toString());
- QDir buildDir = QDir(target()->activeBuildConfiguration()->buildDirectory().toString());
+ QDir buildDir = QDir(buildConfiguration()->buildDirectory().toString());
QString generatedFilePath = buildDir.absoluteFilePath(relativePath);
if (fi.suffix() == "ui") {