mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
cmMakefile: return a backtrace
This allows backtraces to be fully controlled by the makefile rather than externally (and makes changing how they are manipulated easier).
This commit is contained in:
@@ -55,8 +55,7 @@ bool cmTargetCompileOptionsCommand
|
||||
::HandleDirectContent(cmTarget *tgt, const std::vector<std::string> &content,
|
||||
bool, bool)
|
||||
{
|
||||
cmListFileBacktrace lfbt;
|
||||
this->Makefile->GetBacktrace(lfbt);
|
||||
cmListFileBacktrace lfbt = this->Makefile->GetBacktrace();
|
||||
cmValueWithOrigin entry(this->Join(content), lfbt);
|
||||
tgt->InsertCompileOption(entry);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user