diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-05-23 18:59:11 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2014-06-05 16:44:18 (GMT) |
commit | a08292059eba4fdded6643b225640ebf559b2dac (patch) | |
tree | 59ca961e323ccf3256667181311b86b75c1b3968 /Source/cmTestGenerator.cxx | |
parent | efc205695de570c740285b38fbac701f77179ecb (diff) | |
download | CMake-a08292059eba4fdded6643b225640ebf559b2dac.zip CMake-a08292059eba4fdded6643b225640ebf559b2dac.tar.gz CMake-a08292059eba4fdded6643b225640ebf559b2dac.tar.bz2 |
genex: remove the need for backtraces
Rather than making dummy backtraces and passing them around, just make
backtraces optional.
Diffstat (limited to 'Source/cmTestGenerator.cxx')
-rw-r--r-- | Source/cmTestGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTestGenerator.cxx b/Source/cmTestGenerator.cxx index c1b1f8b..f87a535 100644 --- a/Source/cmTestGenerator.cxx +++ b/Source/cmTestGenerator.cxx @@ -70,7 +70,7 @@ void cmTestGenerator::GenerateScriptForConfig(std::ostream& os, this->TestGenerated = true; // Set up generator expression evaluation context. - cmGeneratorExpression ge(this->Test->GetBacktrace()); + cmGeneratorExpression ge(&this->Test->GetBacktrace()); // Start the test command. os << indent << "add_test(" << this->Test->GetName() << " "; |