summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2022-08-25 13:14:13 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-08-25 13:14:21 (GMT)
commit2ef64745c89c13fdb0a66b85cff5ae17a9e3cda3 (patch)
treeede3d9e3ef2f6dc3809010fe53046c70b1af5bec /Source/cmGeneratorTarget.cxx
parent9d1ecd72fb45af722da7668d0c7482b7a0b1876f (diff)
parent970052feddcb49f52b49e04a9edd7cb5e9085859 (diff)
downloadCMake-2ef64745c89c13fdb0a66b85cff5ae17a9e3cda3.zip
CMake-2ef64745c89c13fdb0a66b85cff5ae17a9e3cda3.tar.gz
CMake-2ef64745c89c13fdb0a66b85cff5ae17a9e3cda3.tar.bz2
Merge topic 'file-set-source-group'
970052fedd FILE_SET: Fix source group detection bcc3965813 Tests: Fix VS10Project SourceGroupTreeCMakeLists check Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7609
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 7cd7915..54c900f 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -1715,7 +1715,7 @@ void addFileSetEntry(cmGeneratorTarget const* headTarget,
}
bool found = false;
for (auto const& sg : headTarget->Makefile->GetSourceGroups()) {
- if (sg.MatchesFiles(path)) {
+ if (sg.MatchChildrenFiles(path)) {
found = true;
break;
}