summaryrefslogtreecommitdiff
path: root/Source/cmExportFileGenerator.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2022-11-11 11:44:47 -0500
committerKyle Edwards <kyle.edwards@kitware.com>2022-11-11 12:29:41 -0500
commit09d7f947d68796e8fde923a47636f1c764b5a7af (patch)
tree86f7cc8f0731ae27d1b372711169ecf00f5f9870 /Source/cmExportFileGenerator.cxx
parent553794e98706800a8c792bbcd81d49522333a50f (diff)
downloadcmake-09d7f947d68796e8fde923a47636f1c764b5a7af.tar.gz
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 2c61163abe..bd2b6af14c 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), ";"),