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:04 (GMT) |
commit | cf8fdf5e4340feb15f208ca5512743389b6083e2 (patch) | |
tree | 8a45c0aa4a5036abd9a25ae670c8b83a695a4cdf /Source | |
parent | b051fa5392e20e5e50ae662c840ac0ff8af5b22e (diff) | |
parent | 29c7546a6150b951d5d8e3819ec937dd1a9ad7bc (diff) | |
download | CMake-cf8fdf5e4340feb15f208ca5512743389b6083e2.zip CMake-cf8fdf5e4340feb15f208ca5512743389b6083e2.tar.gz CMake-cf8fdf5e4340feb15f208ca5512743389b6083e2.tar.bz2 |
Merge topic 'export-try-compile-crash'
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')
-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( |