diff options
author | Brad King <brad.king@kitware.com> | 2019-07-23 12:38:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-07-23 12:38:57 (GMT) |
commit | 07b93cb1850fa8365c42c4f9e671a423689b3d0a (patch) | |
tree | 9da4f75c564d071fb9812a5b262ececf2fe65885 /Source | |
parent | 4cac01c63a559d7a7d39f0e3f3e094851bfbdcfc (diff) | |
parent | bf6f5467a0efadb10a227429d1411ac4514a298e (diff) | |
download | CMake-07b93cb1850fa8365c42c4f9e671a423689b3d0a.zip CMake-07b93cb1850fa8365c42c4f9e671a423689b3d0a.tar.gz CMake-07b93cb1850fa8365c42c4f9e671a423689b3d0a.tar.bz2 |
Merge branch 'fix-emulator-arguments' into release-3.15
Merge-request: !3591
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmCustomCommandGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCustomCommandGenerator.cxx b/Source/cmCustomCommandGenerator.cxx index 89aaad0..fe228ff 100644 --- a/Source/cmCustomCommandGenerator.cxx +++ b/Source/cmCustomCommandGenerator.cxx @@ -25,6 +25,7 @@ cmCustomCommandGenerator::cmCustomCommandGenerator(cmCustomCommand const& cc, , OldStyle(cc.GetEscapeOldStyle()) , MakeVars(cc.GetEscapeAllowMakeVars()) , GE(new cmGeneratorExpression(cc.GetBacktrace())) + , EmulatorsWithArguments(cc.GetCommandLines().size()) { const cmCustomCommandLines& cmdlines = this->CC.GetCommandLines(); for (cmCustomCommandLine const& cmdline : cmdlines) { @@ -107,7 +108,6 @@ void cmCustomCommandGenerator::FillEmulatorsWithArguments() continue; } - this->EmulatorsWithArguments.emplace_back(); cmSystemTools::ExpandListArgument(emulator_property, this->EmulatorsWithArguments[c]); } |