summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-15 13:09:13 (GMT)
committerBrad King <brad.king@kitware.com>2020-07-23 12:56:50 (GMT)
commit9f8edd6ac3d04bc79981af3143d4bde6758dd91d (patch)
treee3f6f71cc9cd9923420b3065dd692db6b5342c8b /Source/cmLocalUnixMakefileGenerator3.cxx
parent04b25ed8fcfe0ea90c00a4b234d1c85cad102906 (diff)
downloadCMake-9f8edd6ac3d04bc79981af3143d4bde6758dd91d.zip
CMake-9f8edd6ac3d04bc79981af3143d4bde6758dd91d.tar.gz
CMake-9f8edd6ac3d04bc79981af3143d4bde6758dd91d.tar.bz2
cmLocalUnixMakefileGenerator3: Skip object file listing for custom targets
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index df4bf6a..88754a8 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -137,7 +137,8 @@ void cmLocalUnixMakefileGenerator3::GetLocalObjectFiles(
std::map<std::string, LocalObjectInfo>& localObjectFiles)
{
for (const auto& gt : this->GetGeneratorTargets()) {
- if (gt->GetType() == cmStateEnums::INTERFACE_LIBRARY) {
+ if (gt->GetType() == cmStateEnums::INTERFACE_LIBRARY ||
+ gt->GetType() == cmStateEnums::UTILITY) {
continue;
}
std::vector<cmSourceFile const*> objectSources;