summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetPropCommandBase.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-01-23 20:11:40 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-01-23 20:11:40 (GMT)
commit76ace2b95aba4b12c049224aa8a2d18c67129d45 (patch)
treeccd724658e75bc976fb0ae88b70e3078f8e57aa6 /Source/cmTargetPropCommandBase.cxx
parent7db963a01789f50f6c3bf111a63dcab09b9a88cd (diff)
parentb98d14d40016efee420bee26b9795880fdf6a5f8 (diff)
downloadCMake-76ace2b95aba4b12c049224aa8a2d18c67129d45.zip
CMake-76ace2b95aba4b12c049224aa8a2d18c67129d45.tar.gz
CMake-76ace2b95aba4b12c049224aa8a2d18c67129d45.tar.bz2
Merge topic 'disallow-IMPORTED-interface-porcelain'
b98d14d Disallow porcelain to populate includes and defines of IMPORTED targets. 48a4cf2 Revert "Allow target_link_libraries with IMPORTED targets."
Diffstat (limited to 'Source/cmTargetPropCommandBase.cxx')
-rw-r--r--Source/cmTargetPropCommandBase.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTargetPropCommandBase.cxx b/Source/cmTargetPropCommandBase.cxx
index 7f15dcb..e1eb1d2 100644
--- a/Source/cmTargetPropCommandBase.cxx
+++ b/Source/cmTargetPropCommandBase.cxx
@@ -88,9 +88,9 @@ bool cmTargetPropCommandBase
return false;
}
- if(this->Target->IsImported() && scope != "INTERFACE")
+ if(this->Target->IsImported())
{
- this->HandleImportedTargetInvalidScope(args[0], scope);
+ this->HandleImportedTarget(args[0]);
return false;
}