diff options
author | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-10-17 14:15:44 (GMT) |
---|---|---|
committer | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-11-24 19:13:23 (GMT) |
commit | 96e5042e468c5551b9b6ca01f8671295b2fda1a6 (patch) | |
tree | 7f6f4d9d37d1567a564c38cfba1b4e0853db53da /Source/cmGlobalGenerator.cxx | |
parent | 3dc084ebc1fb261aea69dbd254d50ffd1604dc80 (diff) | |
download | CMake-96e5042e468c5551b9b6ca01f8671295b2fda1a6.zip CMake-96e5042e468c5551b9b6ca01f8671295b2fda1a6.tar.gz CMake-96e5042e468c5551b9b6ca01f8671295b2fda1a6.tar.bz2 |
cmCustomCommand: Explicitly pass backtrace on construction
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 965ee6d..8dfc0ce 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -2651,8 +2651,8 @@ cmTarget cmGlobalGenerator::CreateGlobalTarget(GlobalTargetInfo const& gti, std::vector<std::string> no_byproducts; std::vector<std::string> no_depends; // Store the custom command in the target. - cmCustomCommand cc(nullptr, no_outputs, no_byproducts, no_depends, - gti.CommandLines, nullptr, gti.WorkingDir.c_str()); + cmCustomCommand cc(no_outputs, no_byproducts, no_depends, gti.CommandLines, + cmListFileBacktrace(), nullptr, gti.WorkingDir.c_str()); cc.SetUsesTerminal(gti.UsesTerminal); target.AddPostBuildCommand(std::move(cc)); if (!gti.Message.empty()) { |