summaryrefslogtreecommitdiffstats
path: root/Source/cmExportFileGenerator.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2022-11-11 16:44:47 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2022-11-11 17:29:41 (GMT)
commit09d7f947d68796e8fde923a47636f1c764b5a7af (patch)
tree86f7cc8f0731ae27d1b372711169ecf00f5f9870 /Source/cmExportFileGenerator.cxx
parent553794e98706800a8c792bbcd81d49522333a50f (diff)
downloadCMake-09d7f947d68796e8fde923a47636f1c764b5a7af.zip
CMake-09d7f947d68796e8fde923a47636f1c764b5a7af.tar.gz
CMake-09d7f947d68796e8fde923a47636f1c764b5a7af.tar.bz2
cmGeneratorExpression: Require cmake instance
Diffstat (limited to 'Source/cmExportFileGenerator.cxx')
-rw-r--r--Source/cmExportFileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx
index 2c61163..bd2b6af 100644
--- a/Source/cmExportFileGenerator.cxx
+++ b/Source/cmExportFileGenerator.cxx
@@ -379,7 +379,7 @@ void cmExportFileGenerator::PopulateIncludeDirectoriesInterface(
const char* propName = "INTERFACE_INCLUDE_DIRECTORIES";
cmValue input = target->GetProperty(propName);
- cmGeneratorExpression ge;
+ cmGeneratorExpression ge(*target->Makefile->GetCMakeInstance());
std::string dirs = cmGeneratorExpression::Preprocess(
cmJoin(target->Target->GetInstallIncludeDirectoriesEntries(te), ";"),