Skip to content

Commit 3c40ea5

Browse files
committed
cmake: allow more than one dependency for libswift targets
1 parent 6b558d2 commit 3c40ea5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -667,8 +667,8 @@ endfunction()
667667
function(add_libswift_module module)
668668
cmake_parse_arguments(ALSM
669669
""
670-
"DEPENDS"
671670
""
671+
"DEPENDS"
672672
${ARGN})
673673
set(sources ${ALSM_UNPARSED_ARGUMENTS})
674674
list(TRANSFORM sources PREPEND "${CMAKE_CURRENT_SOURCE_DIR}/")
@@ -717,8 +717,8 @@ endfunction()
717717
function(add_libswift name)
718718
cmake_parse_arguments(ALS
719719
""
720-
"BOOTSTRAPPING;SWIFT_EXEC;DEPENDS"
721-
""
720+
"BOOTSTRAPPING;SWIFT_EXEC"
721+
"DEPENDS"
722722
${ARGN})
723723
724724
set(libswift_compile_options

0 commit comments

Comments
 (0)