diff options
author | Brad King <brad.king@kitware.com> | 2020-07-15 13:09:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-07-23 12:56:50 (GMT) |
commit | 9f8edd6ac3d04bc79981af3143d4bde6758dd91d (patch) | |
tree | e3f6f71cc9cd9923420b3065dd692db6b5342c8b /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | 04b25ed8fcfe0ea90c00a4b234d1c85cad102906 (diff) | |
download | CMake-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.cxx | 3 |
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; |