diff options
author | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-09-20 20:47:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-09-26 14:02:08 (GMT) |
commit | 91abf9f3c4a80f5a8417401d5277b3b66bc7d008 (patch) | |
tree | ff61f00c07626d0f2ac3b2b0cf8dedd2802392a0 /Source/cmMakefile.cxx | |
parent | f151a5770597dbe341fc6329a711f40e9195c773 (diff) | |
download | CMake-91abf9f3c4a80f5a8417401d5277b3b66bc7d008.zip CMake-91abf9f3c4a80f5a8417401d5277b3b66bc7d008.tar.gz CMake-91abf9f3c4a80f5a8417401d5277b3b66bc7d008.tar.bz2 |
cmCustomCommand: Move custom commands
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index e53851d..d1235b2 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -938,13 +938,13 @@ void cmMakefile::CommitCustomCommandToTarget( cc.SetJobPool(job_pool); switch (type) { case cmCustomCommandType::PRE_BUILD: - target->AddPreBuildCommand(cc); + target->AddPreBuildCommand(std::move(cc)); break; case cmCustomCommandType::PRE_LINK: - target->AddPreLinkCommand(cc); + target->AddPreLinkCommand(std::move(cc)); break; case cmCustomCommandType::POST_BUILD: - target->AddPostBuildCommand(cc); + target->AddPostBuildCommand(std::move(cc)); break; } this->UpdateOutputToSourceMap(byproducts, target); |