diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-12-30 21:12:30 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-01-06 16:25:10 (GMT) |
commit | 61d138aea2df9df2da7fa817b47131c73557fbdb (patch) | |
tree | 9d39dbc7269a12e91848b12d3b754a1200f59264 /Source | |
parent | 3429541e1c853207ae77ac033f04888e6c84ebf8 (diff) | |
download | CMake-61d138aea2df9df2da7fa817b47131c73557fbdb.zip CMake-61d138aea2df9df2da7fa817b47131c73557fbdb.tar.gz CMake-61d138aea2df9df2da7fa817b47131c73557fbdb.tar.bz2 |
cmTarget: INTERFACE_LIBRARY is always EXCLUDE_FROM_ALL.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 0b58a45..0a56771 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1908,7 +1908,8 @@ bool cmGlobalGenerator::IsExcluded(cmLocalGenerator* root, bool cmGlobalGenerator::IsExcluded(cmLocalGenerator* root, cmTarget& target) { - if(target.GetPropertyAsBool("EXCLUDE_FROM_ALL")) + if(target.GetType() == cmTarget::INTERFACE_LIBRARY + || target.GetPropertyAsBool("EXCLUDE_FROM_ALL")) { // This target is excluded from its directory. return true; |