summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-07 18:29:47 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-07 18:29:47 (GMT)
commita9784d0e26a9d9c881248326b2385cefbb732de7 (patch)
tree6464f30cf987d12a464513a164efc51919768f8b /Source/cmGeneratorTarget.cxx
parent8bb5c14fd8aadc43580625bba0e1be6c93456131 (diff)
downloadCMake-a9784d0e26a9d9c881248326b2385cefbb732de7.zip
CMake-a9784d0e26a9d9c881248326b2385cefbb732de7.tar.gz
CMake-a9784d0e26a9d9c881248326b2385cefbb732de7.tar.bz2
cmGeneratorTarget: Remove unnecessary condition
Remove a condition where the "then" and "else" cases do the same thing.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 88f3978..617be27 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -258,8 +258,6 @@ struct TagVisitor
DoAccept<IsSameTag<Tag, XamlTag>::Result>::Do(this->Data, sf);
} else if (this->Header.find(sf->GetFullPath().c_str())) {
DoAccept<IsSameTag<Tag, HeaderSourcesTag>::Result>::Do(this->Data, sf);
- } else if (this->GlobalGenerator->IgnoreFile(sf->GetExtension().c_str())) {
- DoAccept<IsSameTag<Tag, ExtraSourcesTag>::Result>::Do(this->Data, sf);
} else {
DoAccept<IsSameTag<Tag, ExtraSourcesTag>::Result>::Do(this->Data, sf);
}