|
@@ -517,8 +517,9 @@ void cmExportFileGenerator::PopulateInterfaceProperty(
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
-void getPropertyContents(cmTarget const* tgt, const std::string& prop,
|
|
|
- std::set<std::string> &ifaceProperties)
|
|
|
+void getPropertyContents(cmGeneratorTarget const* tgt,
|
|
|
+ const std::string& prop,
|
|
|
+ std::set<std::string> &ifaceProperties)
|
|
|
{
|
|
|
const char *p = tgt->GetProperty(prop);
|
|
|
if (!p)
|
|
@@ -589,11 +590,11 @@ void cmExportFileGenerator::PopulateCompatibleInterfaceProperties(
|
|
|
|
|
|
std::set<std::string> ifaceProperties;
|
|
|
|
|
|
- getPropertyContents(target, "COMPATIBLE_INTERFACE_BOOL", ifaceProperties);
|
|
|
- getPropertyContents(target, "COMPATIBLE_INTERFACE_STRING", ifaceProperties);
|
|
|
- getPropertyContents(target, "COMPATIBLE_INTERFACE_NUMBER_MIN",
|
|
|
+ getPropertyContents(gtarget, "COMPATIBLE_INTERFACE_BOOL", ifaceProperties);
|
|
|
+ getPropertyContents(gtarget, "COMPATIBLE_INTERFACE_STRING", ifaceProperties);
|
|
|
+ getPropertyContents(gtarget, "COMPATIBLE_INTERFACE_NUMBER_MIN",
|
|
|
ifaceProperties);
|
|
|
- getPropertyContents(target, "COMPATIBLE_INTERFACE_NUMBER_MAX",
|
|
|
+ getPropertyContents(gtarget, "COMPATIBLE_INTERFACE_NUMBER_MAX",
|
|
|
ifaceProperties);
|
|
|
|
|
|
if (target->GetType() != cmTarget::INTERFACE_LIBRARY)
|