We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 82c8ea3 + b3e5295 commit f62450eCopy full SHA for f62450e
‎lldb/cmake/modules/AddLLDB.cmake
@@ -301,10 +301,8 @@ function(lldb_add_to_buildtree_lldb_framework name subdir)
301
302
# Create a custom target to remove the copy again from LLDB.framework in the
303
# build tree.
304
- # Intentionally use remove_directory because the target can be a either a
305
- # file or directory and using remove_directory is harmless for files.
306
add_custom_target(${name}-cleanup
307
- COMMAND ${CMAKE_COMMAND} -E remove_directory ${copy_dest}
+ COMMAND ${CMAKE_COMMAND} -E remove ${copy_dest}
308
COMMENT "Removing ${name} from LLDB.framework")
309
add_dependencies(lldb-framework-cleanup
310
${name}-cleanup)
0 commit comments