diff options
author | Brad King <brad.king@kitware.com> | 2013-01-23 15:11:40 -0500 |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-01-23 15:11:40 -0500 |
commit | 76ace2b95aba4b12c049224aa8a2d18c67129d45 (patch) | |
tree | ccd724658e75bc976fb0ae88b70e3078f8e57aa6 /Source/cmTargetPropCommandBase.cxx | |
parent | 7db963a01789f50f6c3bf111a63dcab09b9a88cd (diff) | |
parent | b98d14d40016efee420bee26b9795880fdf6a5f8 (diff) | |
download | cmake-76ace2b95aba4b12c049224aa8a2d18c67129d45.tar.gz |
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.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTargetPropCommandBase.cxx b/Source/cmTargetPropCommandBase.cxx index 7f15dcb64b..e1eb1d2d45 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; } |