diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2022-08-02 14:48:00 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2022-08-03 12:19:08 (GMT) |
commit | 83e44002aeee2e6d147bf5bbd185137c32ff04ce (patch) | |
tree | 510e1d6fed0ccc1cf153a05e878fd46f1b36e88a /Source/cmGlobalGenerator.cxx | |
parent | e18fb0c73edf2c392ab6f86b4bdeebc28a7ec80d (diff) | |
download | CMake-83e44002aeee2e6d147bf5bbd185137c32ff04ce.zip CMake-83e44002aeee2e6d147bf5bbd185137c32ff04ce.tar.gz CMake-83e44002aeee2e6d147bf5bbd185137c32ff04ce.tar.bz2 |
VERIFY_INTERFACE_HEADER_SETS: Add verification target for all
Fixes: #23802
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index edc4118..4feae6d 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1758,6 +1758,14 @@ bool cmGlobalGenerator::AddHeaderSetVerification() } } + cmTarget* allVerifyTarget = this->Makefiles.front()->FindTargetToUse( + "all_verify_interface_header_sets", true); + if (allVerifyTarget) { + this->LocalGenerators.front()->AddGeneratorTarget( + cm::make_unique<cmGeneratorTarget>(allVerifyTarget, + this->LocalGenerators.front().get())); + } + return true; } |