diff options
author | David Schulz <[email protected]> | 2022-06-16 09:29:22 +0200 |
---|---|---|
committer | David Schulz <[email protected]> | 2022-06-16 07:31:00 +0000 |
commit | 48a43511c726c98820c39f6e1edfcc6ab7fc06cf (patch) | |
tree | bfe912d45bde43f077ef5a6927cb633ce9dea72f | |
parent | 1c587f136ae62e74e72f8f834b554bf227f55cfc (diff) |
ProjectExplorer: fix environment is valid checkv8.0.0-beta1
Amends d76458a8b6a03ba3b5657c88221884c05c848467
Change-Id: I0a9d4d6c4489f2bfd3d61c3db3f1040fbc5cbdbc
Reviewed-by: hjk <[email protected]>
-rw-r--r-- | src/plugins/projectexplorer/msvctoolchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/msvctoolchain.cpp b/src/plugins/projectexplorer/msvctoolchain.cpp index d6eaa3bbaf7..9f456a8b06c 100644 --- a/src/plugins/projectexplorer/msvctoolchain.cpp +++ b/src/plugins/projectexplorer/msvctoolchain.cpp @@ -1145,7 +1145,7 @@ ToolChain::BuiltInHeaderPathsRunner MsvcToolChain::createBuiltInHeaderPathsRunne void MsvcToolChain::addToEnvironment(Utils::Environment &env) const { // We cache the full environment (incoming + modifications by setup script). - if (m_resultEnvironment.isValid() || env != m_lastEnvironment) { + if (!m_resultEnvironment.isValid() || env != m_lastEnvironment) { qCDebug(Log) << "addToEnvironment: " << displayName(); m_lastEnvironment = env; m_resultEnvironment = readEnvironmentSetting(env); |