Skip to content

Commit 3d1bfde

Browse files
authored
Merge pull request #30977 from compnerd/unused
build: prune some unused options for `_add_swift_host_executable_single`
2 parents 81af079 + 319a9e0 commit 3d1bfde

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -827,8 +827,6 @@ function(_add_swift_host_executable_single name)
827827
ARCHITECTURE
828828
SDK)
829829
set(multiple_parameter_options
830-
COMPILE_FLAGS
831-
DEPENDS
832830
LLVM_LINK_COMPONENTS)
833831
cmake_parse_arguments(SWIFTEXE_SINGLE
834832
"${options}"
@@ -876,10 +874,8 @@ function(_add_swift_host_executable_single name)
876874
${SWIFTEXE_SINGLE_EXTERNAL_SOURCES})
877875

878876
add_dependencies_multiple_targets(
879-
TARGETS "${name}"
880-
DEPENDS
881-
${LLVM_COMMON_DEPENDS}
882-
${SWIFTEXE_SINGLE_DEPENDS})
877+
TARGETS ${name}
878+
DEPENDS ${LLVM_COMMON_DEPENDS})
883879
llvm_update_compile_flags("${name}")
884880

885881
if(SWIFTEXE_SINGLE_SDK STREQUAL WINDOWS)

0 commit comments

Comments
 (0)