diff options
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 369eb5c..b5fcae2 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -74,7 +74,10 @@ void cmGeneratorTarget::ClassifySources() else { this->ExtraSources.push_back(sf); - if(isObjLib) { badObjLib.push_back(sf); } + if(isObjLib && cmSystemTools::LowerCase(sf->GetExtension()) != "txt") + { + badObjLib.push_back(sf); + } } } |