summaryrefslogtreecommitdiff
path: root/src/plugins/cmakeprojectmanager/builddirparameters.cpp
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@qt.io>2022-08-10 19:12:40 +0200
committerCristian Adam <cristian.adam@qt.io>2022-08-16 18:56:36 +0000
commitd86d2780441b62696b6c16e24a0273c7683b69f4 (patch)
tree74b984252d23498eba2b66c5b77a1220dfad37db /src/plugins/cmakeprojectmanager/builddirparameters.cpp
parentc9d45d1bc0570484fc6e5f462b3c693c3db07ea2 (diff)
downloadqt-creator-d86d2780441b62696b6c16e24a0273c7683b69f4.tar.gz
CMakePM: Add configure environment widget
CMakePresets have the concept of modifying the configure process environment variables. Qt Creator had only one "build environment". Change-Id: I131d54971b4bf7e5f87e680f817f93868d62ab29 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/builddirparameters.cpp')
-rw-r--r--src/plugins/cmakeprojectmanager/builddirparameters.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/builddirparameters.cpp b/src/plugins/cmakeprojectmanager/builddirparameters.cpp
index 81b79ecfc5..9f90d25d3b 100644
--- a/src/plugins/cmakeprojectmanager/builddirparameters.cpp
+++ b/src/plugins/cmakeprojectmanager/builddirparameters.cpp
@@ -80,7 +80,7 @@ BuildDirParameters::BuildDirParameters(CMakeBuildSystem *buildSystem)
cmakeBuildType = buildSystem->cmakeBuildType();
- environment = bc->environment();
+ environment = bc->configureEnvironment();
// Disable distributed building for configuration runs. CMake does not do those in parallel,
// so there is no win in sending data over the network.
// Unfortunately distcc does not have a simple environment flag to turn it off:-/