mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user