diff options
author | Johnny Jazeix <jazeix@gmail.com> | 2019-11-13 21:24:41 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2019-11-13 23:02:18 (GMT) |
commit | 2d0100fac7a51327ce8053b4ab2277aaa96c12a5 (patch) | |
tree | 4e18ae98f53620d700a6727cf6a18c77dc2874a6 /Source/cmNinjaNormalTargetGenerator.cxx | |
parent | 5239fc5c753502e91a1ea6859842d7fc24a36253 (diff) | |
download | CMake-2d0100fac7a51327ce8053b4ab2277aaa96c12a5.zip CMake-2d0100fac7a51327ce8053b4ab2277aaa96c12a5.tar.gz CMake-2d0100fac7a51327ce8053b4ab2277aaa96c12a5.tar.bz2 |
replace remove and remove_directory with rm in tests
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx index beedef4..72bef21 100644 --- a/Source/cmNinjaNormalTargetGenerator.cxx +++ b/Source/cmNinjaNormalTargetGenerator.cxx @@ -486,7 +486,7 @@ std::vector<std::string> cmNinjaNormalTargetGenerator::ComputeLinkCmd() std::string cmakeCommand = this->GetLocalGenerator()->ConvertToOutputFormat( cmSystemTools::GetCMakeCommand(), cmOutputConverter::SHELL); - linkCmds.push_back(cmakeCommand + " -E remove $TARGET_FILE"); + linkCmds.push_back(cmakeCommand + " -E rm -f $TARGET_FILE"); } // TODO: Use ARCHIVE_APPEND for archives over a certain size. { |