diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-11-26 09:39:23 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-11-26 12:01:50 (GMT) |
commit | f088a3245001350f9c429e27bd12a3394742b0b8 (patch) | |
tree | e2c5b7c3fad8196d6fc537d1292b6aa676a160ca /Source/cmExportFileGenerator.cxx | |
parent | 9eedc850eb1419d678bda8137610dba1c289bb6a (diff) | |
download | CMake-f088a3245001350f9c429e27bd12a3394742b0b8.zip CMake-f088a3245001350f9c429e27bd12a3394742b0b8.tar.gz CMake-f088a3245001350f9c429e27bd12a3394742b0b8.tar.bz2 |
Export: Process INSTALL_INTERFACE in INCLUDES DESTINATION.
Code such as
install(TARGETS ...
INCLUDES DESTINATION $<INSTALL_INTERFACE:include>
)
should behave as if the INSTALL_INTERFACE wrapper were not present.
Diffstat (limited to 'Source/cmExportFileGenerator.cxx')
-rw-r--r-- | Source/cmExportFileGenerator.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx index 8f83c02..9186ab6 100644 --- a/Source/cmExportFileGenerator.cxx +++ b/Source/cmExportFileGenerator.cxx @@ -322,7 +322,10 @@ void cmExportFileGenerator::PopulateIncludeDirectoriesInterface( cmListFileBacktrace lfbt; cmGeneratorExpression ge(lfbt); - std::string dirs = tei->InterfaceIncludeDirectories; + std::string dirs = cmGeneratorExpression::Preprocess( + tei->InterfaceIncludeDirectories, + preprocessRule, + true); this->ReplaceInstallPrefix(dirs); cmsys::auto_ptr<cmCompiledGeneratorExpression> cge = ge.Parse(dirs); std::string exportDirs = cge->Evaluate(target->GetMakefile(), 0, |