diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2022-07-14 13:55:54 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-07-14 13:56:03 (GMT) |
commit | df559cd8c836f5534e2f22fa3dec71417471c5ac (patch) | |
tree | 24850ebf2a2515f4e5972336d5e337b6b79c6cc3 /Source/cmGlobalGenerator.cxx | |
parent | b2d550f45bc946e29f0be8768b74effa17656f9f (diff) | |
parent | 29c7546a6150b951d5d8e3819ec937dd1a9ad7bc (diff) | |
download | CMake-df559cd8c836f5534e2f22fa3dec71417471c5ac.zip CMake-df559cd8c836f5534e2f22fa3dec71417471c5ac.tar.gz CMake-df559cd8c836f5534e2f22fa3dec71417471c5ac.tar.bz2 |
Merge topic 'export-try-compile-crash' into release-3.24
29c7546a61 cmGlobalGenerator: Only compute build files for all targets
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !7472
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 4cb541a..5113a46 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1399,7 +1399,9 @@ void cmGlobalGenerator::CreateGenerationObjects(TargetTypes targetTypes) this->CheckTargetProperties(); } this->CreateGeneratorTargets(targetTypes); - this->ComputeBuildFileGenerators(); + if (targetTypes == TargetTypes::AllTargets) { + this->ComputeBuildFileGenerators(); + } } void cmGlobalGenerator::CreateImportedGenerationObjects( |