Selaa lähdekoodia

cmTarget: Remove dead code.

Whitelisting of properties already ensures that the LOCATION
property will not be read from an INTERFACE_LIBRARY.
Stephen Kelly 12 vuotta sitten
vanhempi
sitoutus
7fc6e3d607
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. 0 1
      Source/cmTarget.cxx

+ 0 - 1
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)