Skip to content

Commit 5d6b7ff

Browse files
committed
[CMake] Use "rm -f" when removing old Swift module.
1 parent c0d53c4 commit 5d6b7ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/CompilerPluginSupport/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ if(SWIFT_SWIFT_PARSER)
4343
add_custom_command_target(
4444
create_module_dirs_dependency_target
4545
COMMAND "${CMAKE_COMMAND}" -E make_directory ${module_base}
46-
COMMAND "${CMAKE_COMMAND}" -E rm "${module_file}"
46+
COMMAND "${CMAKE_COMMAND}" -E rm -f "${module_file}"
4747
OUTPUT ${module_base}
4848
COMMENT "Generating module directory for ${module_name}")
4949
add_dependencies(${library_name} ${create_module_dirs_dependency_target})

0 commit comments

Comments
 (0)