summaryrefslogtreecommitdiffstats
path: root/Source/cmExportFileGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-07-25 07:05:03 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-07-25 12:31:22 (GMT)
commitd777b8e7167e0c1a3de4ebcf66fac5fc604f1dd9 (patch)
tree87801670e241b12f64697f02c974b72458f90670 /Source/cmExportFileGenerator.cxx
parent650e61f833c2cc3ace8405a22eb80a10cfc6187c (diff)
downloadCMake-d777b8e7167e0c1a3de4ebcf66fac5fc604f1dd9.zip
CMake-d777b8e7167e0c1a3de4ebcf66fac5fc604f1dd9.tar.gz
CMake-d777b8e7167e0c1a3de4ebcf66fac5fc604f1dd9.tar.bz2
Genex: Allow relative paths in INSTALL_INTERFACE.
These paths can be prepended with the ${_IMPORT_PREFIX} generated in the export file. Such relative paths were previously an error.
Diffstat (limited to 'Source/cmExportFileGenerator.cxx')
-rw-r--r--Source/cmExportFileGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx
index cff539f..b8188a6 100644
--- a/Source/cmExportFileGenerator.cxx
+++ b/Source/cmExportFileGenerator.cxx
@@ -302,7 +302,8 @@ void cmExportFileGenerator::PopulateIncludeDirectoriesInterface(
const char* sep = input ? ";" : "";
includes += sep + tei->InterfaceIncludeDirectories;
std::string prepro = cmGeneratorExpression::Preprocess(includes,
- preprocessRule);
+ preprocessRule,
+ true);
if (!prepro.empty())
{
this->ResolveTargetsInGeneratorExpressions(prepro, target,