mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Merge topic 'disallow-IMPORTED-interface-porcelain'
b98d14dDisallow porcelain to populate includes and defines of IMPORTED targets.48a4cf2Revert "Allow target_link_libraries with IMPORTED targets."
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user