mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
Revert "Add a way to exclude INTERFACE properties from exported targets."
This reverts commit2c3654c3de. The removal of some tests added in commit77cecb77(Add includes and compile definitions with target_link_libraries., 2012-11-05) are also squashed into this commit.
This commit is contained in:
@@ -264,16 +264,15 @@ void cmExportFileGenerator::GenerateInterfaceProperties(cmTarget *target,
|
||||
{
|
||||
if (!properties.empty())
|
||||
{
|
||||
os << "if(NOT ${CMAKE_FIND_PACKAGE_NAME}_NO_INTERFACES)\n";
|
||||
std::string targetName = this->Namespace;
|
||||
targetName += target->GetName();
|
||||
os << " set_target_properties(" << targetName << " PROPERTIES\n";
|
||||
os << "set_target_properties(" << targetName << " PROPERTIES\n";
|
||||
for(ImportPropertyMap::const_iterator pi = properties.begin();
|
||||
pi != properties.end(); ++pi)
|
||||
{
|
||||
os << " " << pi->first << " \"" << pi->second << "\"\n";
|
||||
os << " " << pi->first << " \"" << pi->second << "\"\n";
|
||||
}
|
||||
os << " )\nendif()\n\n";
|
||||
os << ")\n\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user