From 7fc6e3d607c79c1124b2ac93fac0dcddc326ef66 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Mon, 30 Dec 2013 20:35:15 +0100 Subject: [PATCH] cmTarget: Remove dead code. Whitelisting of properties already ensures that the LOCATION property will not be read from an INTERFACE_LIBRARY. --- Source/cmTarget.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 472f87d6e..b51ea2a04 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)