summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-27 20:04:57 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-08-27 20:04:57 (GMT)
commit3e12a6cb917d0e6a8b10e239a2e5fa9cf3a8c358 (patch)
tree2f3cc243afbebf29b997aa9d9333fdc1ee8b1539 /Source/cmGlobalGenerator.cxx
parent556b1257ac5e961a5fbc652f51acf157f157bed8 (diff)
downloadCMake-3e12a6cb917d0e6a8b10e239a2e5fa9cf3a8c358.zip
CMake-3e12a6cb917d0e6a8b10e239a2e5fa9cf3a8c358.tar.gz
CMake-3e12a6cb917d0e6a8b10e239a2e5fa9cf3a8c358.tar.bz2
ENH: add install files generators for targets which have PUBLIC_HEADER,
PRIVATE_HEADER or RESOURCE_FILES property, use the destination for the public headers as include directory property for exported libraries Alex
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index ac69843..a62a5c3 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -1081,12 +1081,13 @@ void cmGlobalGenerator::AddTargetToExports(const char* exportSetName,
cmInstallTargetGenerator* runTime,
cmInstallTargetGenerator* library,
cmInstallTargetGenerator* framework,
- cmInstallTargetGenerator* bundle)
+ cmInstallTargetGenerator* bundle,
+ cmInstallFilesGenerator* headers)
{
if ((exportSetName) && (*exportSetName) && (target))
{
cmTargetExport* te = new cmTargetExport(target, archive, runTime, library,
- framework, bundle);
+ framework, bundle, headers);
this->ExportSets[exportSetName].push_back(te);
}
}