summaryrefslogtreecommitdiffstats
path: root/Source/cmExportFileGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-01-27 08:43:44 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-01-27 08:59:26 (GMT)
commit34d1ade048a87953c089d730f0126eecb6685968 (patch)
treef9d3ac9c7f5829ef8e1d881f8ab80583243f9644 /Source/cmExportFileGenerator.cxx
parent3a1719793fa4eb4024e2e36e17196832551d469c (diff)
downloadCMake-34d1ade048a87953c089d730f0126eecb6685968.zip
CMake-34d1ade048a87953c089d730f0126eecb6685968.tar.gz
CMake-34d1ade048a87953c089d730f0126eecb6685968.tar.bz2
Add the INSTALL_PREFIX genex.
Diffstat (limited to 'Source/cmExportFileGenerator.cxx')
-rw-r--r--Source/cmExportFileGenerator.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx
index 96e0aea..2ae7138 100644
--- a/Source/cmExportFileGenerator.cxx
+++ b/Source/cmExportFileGenerator.cxx
@@ -431,6 +431,9 @@ cmExportFileGenerator::ResolveTargetsInGeneratorExpression(
input.replace(pos, endPos - pos + 1, targetName);
lastPos = endPos;
}
+
+ this->ReplaceInstallPrefix(input);
+
if (!errorString.empty())
{
mf->IssueMessage(cmake::FATAL_ERROR, errorString);
@@ -439,6 +442,13 @@ cmExportFileGenerator::ResolveTargetsInGeneratorExpression(
//----------------------------------------------------------------------------
void
+cmExportFileGenerator::ReplaceInstallPrefix(std::string &)
+{
+ // Do nothing
+}
+
+//----------------------------------------------------------------------------
+void
cmExportFileGenerator
::SetImportLinkInterface(const char* config, std::string const& suffix,
cmGeneratorExpression::PreprocessContext preprocessRule,