summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-11-04 15:58:06 (GMT)
committerBrad King <brad.king@kitware.com>2021-11-04 16:23:35 (GMT)
commit16e24748c5092f19d53c80548083826f009aafc7 (patch)
tree2acc80df8a226c01bb9a4b059c70b72a396ceecc /Source/cmGlobalGenerator.cxx
parentfda948846b200336395c0e99be3fa2a0258d7f0a (diff)
downloadCMake-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.cxx3
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: