summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenInitializer.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/cmQtAutoGenInitializer.cxx
parent553794e98706800a8c792bbcd81d49522333a50f (diff)
downloadCMake-09d7f947d68796e8fde923a47636f1c764b5a7af.zip
CMake-09d7f947d68796e8fde923a47636f1c764b5a7af.tar.gz
CMake-09d7f947d68796e8fde923a47636f1c764b5a7af.tar.bz2
cmGeneratorExpression: Require cmake instance
Diffstat (limited to 'Source/cmQtAutoGenInitializer.cxx')
-rw-r--r--Source/cmQtAutoGenInitializer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenInitializer.cxx b/Source/cmQtAutoGenInitializer.cxx
index 96649ab..6f78a46 100644
--- a/Source/cmQtAutoGenInitializer.cxx
+++ b/Source/cmQtAutoGenInitializer.cxx
@@ -2095,7 +2095,7 @@ bool cmQtAutoGenInitializer::GetQtExecutable(GenVarsT& genVars,
// Evaluate generator expression
{
cmListFileBacktrace lfbt = this->Makefile->GetBacktrace();
- cmGeneratorExpression ge(lfbt);
+ cmGeneratorExpression ge(*this->Makefile->GetCMakeInstance(), lfbt);
std::unique_ptr<cmCompiledGeneratorExpression> cge = ge.Parse(val);
genVars.Executable = cge->Evaluate(this->LocalGen, "");
}