From 9f8edd6ac3d04bc79981af3143d4bde6758dd91d Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 15 Jul 2020 09:09:13 -0400 Subject: cmLocalUnixMakefileGenerator3: Skip object file listing for custom targets --- Source/cmLocalUnixMakefileGenerator3.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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& 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 objectSources; -- cgit v0.12