cmInstallGenerator: Add backtrace to all install generators

This commit is contained in:
Brad King
2021-01-11 09:58:55 -05:00
parent eea61268e6
commit e32818dd76
18 changed files with 57 additions and 42 deletions

View File

@@ -14,9 +14,9 @@
cmInstallScriptGenerator::cmInstallScriptGenerator(
std::string script, bool code, std::string const& component,
bool exclude_from_all)
bool exclude_from_all, cmListFileBacktrace backtrace)
: cmInstallGenerator("", std::vector<std::string>(), component,
MessageDefault, exclude_from_all)
MessageDefault, exclude_from_all, std::move(backtrace))
, Script(std::move(script))
, Code(code)
, AllowGenex(false)