diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2022-11-11 16:44:47 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2022-11-11 17:29:41 (GMT) |
commit | 09d7f947d68796e8fde923a47636f1c764b5a7af (patch) | |
tree | 86f7cc8f0731ae27d1b372711169ecf00f5f9870 /Source/cmTestGenerator.cxx | |
parent | 553794e98706800a8c792bbcd81d49522333a50f (diff) | |
download | CMake-09d7f947d68796e8fde923a47636f1c764b5a7af.zip CMake-09d7f947d68796e8fde923a47636f1c764b5a7af.tar.gz CMake-09d7f947d68796e8fde923a47636f1c764b5a7af.tar.bz2 |
cmGeneratorExpression: Require cmake instance
Diffstat (limited to 'Source/cmTestGenerator.cxx')
-rw-r--r-- | Source/cmTestGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmTestGenerator.cxx b/Source/cmTestGenerator.cxx index dbb0876..5e325dd 100644 --- a/Source/cmTestGenerator.cxx +++ b/Source/cmTestGenerator.cxx @@ -127,7 +127,8 @@ void cmTestGenerator::GenerateScriptForConfig(std::ostream& os, this->TestGenerated = true; // Set up generator expression evaluation context. - cmGeneratorExpression ge(this->Test->GetBacktrace()); + cmGeneratorExpression ge(*this->Test->GetMakefile()->GetCMakeInstance(), + this->Test->GetBacktrace()); // Determine if policy CMP0110 is set to NEW. const bool quote_test_name = |