diff options
author | Brad King <brad.king@kitware.com> | 2021-11-04 15:58:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-11-04 16:23:35 (GMT) |
commit | 16e24748c5092f19d53c80548083826f009aafc7 (patch) | |
tree | 2acc80df8a226c01bb9a4b059c70b72a396ceecc /Source/cmGlobalGenerator.cxx | |
parent | fda948846b200336395c0e99be3fa2a0258d7f0a (diff) | |
download | CMake-16e24748c5092f19d53c80548083826f009aafc7.zip CMake-16e24748c5092f19d53c80548083826f009aafc7.tar.gz CMake-16e24748c5092f19d53c80548083826f009aafc7.tar.bz2 |
Ninja Multi-Config: Fix cross-config custom command dependency tracing
Process `CMAKE_CROSS_CONFIGS` and friends to properly configure the
generator for cross-config behavior before custom command dependency
tracing.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index ac283ab..9914902 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1402,6 +1402,9 @@ bool cmGlobalGenerator::Compute() this->SupportsDefaultConfigs())) { return false; } + if (!this->InspectConfigTypeVariables()) { + return false; + } // Some generators track files replaced during the Generate. // Start with an empty vector: |