summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2022-08-02 14:48:00 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2022-08-03 12:19:08 (GMT)
commit83e44002aeee2e6d147bf5bbd185137c32ff04ce (patch)
tree510e1d6fed0ccc1cf153a05e878fd46f1b36e88a /Source/cmGlobalGenerator.cxx
parente18fb0c73edf2c392ab6f86b4bdeebc28a7ec80d (diff)
downloadCMake-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.cxx8
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;
}