summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-12-30 19:35:15 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-01-06 16:25:09 (GMT)
commit7fc6e3d607c79c1124b2ac93fac0dcddc326ef66 (patch)
treecd36bb3909f904dbb4d7929c8c036c3943268876 /Source
parent2af966d9ab37cb22bd6173f938e83cc710923c3c (diff)
downloadCMake-7fc6e3d607c79c1124b2ac93fac0dcddc326ef66.zip
CMake-7fc6e3d607c79c1124b2ac93fac0dcddc326ef66.tar.gz
CMake-7fc6e3d607c79c1124b2ac93fac0dcddc326ef66.tar.bz2
cmTarget: Remove dead code.
Whitelisting of properties already ensures that the LOCATION property will not be read from an INTERFACE_LIBRARY.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTarget.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 472f87d..b51ea2a 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -2688,7 +2688,6 @@ const char *cmTarget::GetProperty(const char* prop,
this->GetType() == cmTarget::STATIC_LIBRARY ||
this->GetType() == cmTarget::SHARED_LIBRARY ||
this->GetType() == cmTarget::MODULE_LIBRARY ||
- this->GetType() == cmTarget::INTERFACE_LIBRARY ||
this->GetType() == cmTarget::UNKNOWN_LIBRARY)
{
if(strcmp(prop,"LOCATION") == 0)