summaryrefslogtreecommitdiffstats
path: root/Source/cmExportFileGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-24 19:05:11 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-24 19:05:11 (GMT)
commitdab5ea859aa93acecc075d18a8ca1775090b5c75 (patch)
tree7302d7e00083f591ac8e33313c80c8d61fca5935 /Source/cmExportFileGenerator.cxx
parentdaaaf7fdcc6bd947a9d69069241476bf0335b154 (diff)
downloadCMake-dab5ea859aa93acecc075d18a8ca1775090b5c75.zip
CMake-dab5ea859aa93acecc075d18a8ca1775090b5c75.tar.gz
CMake-dab5ea859aa93acecc075d18a8ca1775090b5c75.tar.bz2
COMP: Fix Borland 5.5 build
- Its <iosfwd> header includes windows.h which defines GetCurrentDirectory - It defines 'interface' so we cannot use it as a variable name.
Diffstat (limited to 'Source/cmExportFileGenerator.cxx')
-rw-r--r--Source/cmExportFileGenerator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx
index 04946cf..f28f841 100644
--- a/Source/cmExportFileGenerator.cxx
+++ b/Source/cmExportFileGenerator.cxx
@@ -135,16 +135,16 @@ cmExportFileGenerator
}
// Add the transitive link dependencies for this configuration.
- if(cmTargetLinkInterface const* interface =
+ if(cmTargetLinkInterface const* iface =
target->GetLinkInterface(config))
{
// This target provides a link interface, so use it.
this->SetImportLinkProperty(suffix, target,
"IMPORTED_LINK_INTERFACE_LIBRARIES",
- interface->Libraries, properties);
+ iface->Libraries, properties);
this->SetImportLinkProperty(suffix, target,
"IMPORTED_LINK_DEPENDENT_LIBRARIES",
- interface->SharedDeps, properties);
+ iface->SharedDeps, properties);
}
else if(target->GetType() == cmTarget::STATIC_LIBRARY ||
target->GetType() == cmTarget::SHARED_LIBRARY)