diff options
author | Brad King <brad.king@kitware.com> | 2013-11-26 14:36:58 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-11-26 14:36:58 (GMT) |
commit | 779fd101603631bfd61dc0fb03f96ba762abc92e (patch) | |
tree | b73859ae759bb6c964b6d179fb6198896ace95c7 /Source/cmLocalNinjaGenerator.cxx | |
parent | 784e6e7f15fa9b655d2b51ee29756f0d777cb071 (diff) | |
parent | 5ee9e6bc11a01c7450ffeb14d86f0fe0cef540d6 (diff) | |
download | CMake-779fd101603631bfd61dc0fb03f96ba762abc92e.zip CMake-779fd101603631bfd61dc0fb03f96ba762abc92e.tar.gz CMake-779fd101603631bfd61dc0fb03f96ba762abc92e.tar.bz2 |
Merge topic 'INTERFACE_LIBRARY-property-whitelist'
5ee9e6b cmTarget: Add whitelist of properties on INTERFACE_LIBRARY.
0bfcb45 INTERFACE_LIBRARY: Avoid codepaths which set unneeded properties.
Diffstat (limited to 'Source/cmLocalNinjaGenerator.cxx')
-rw-r--r-- | Source/cmLocalNinjaGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx index c336762..3d04f70 100644 --- a/Source/cmLocalNinjaGenerator.cxx +++ b/Source/cmLocalNinjaGenerator.cxx @@ -68,7 +68,8 @@ void cmLocalNinjaGenerator::Generate() for(cmGeneratorTargetsType::iterator t = targets.begin(); t != targets.end(); ++t) { - if (t->second->Target->IsImported()) + if (t->second->Target->GetType() == cmTarget::INTERFACE_LIBRARY + || t->second->Target->IsImported()) { continue; } |