Skip to content

Commit 218b37e

Browse files
committed
build: rename LLVM_COMPONENT_DEPENDS
This is not a target dependency but a target link. Name the parameter to be less misleading. This also makes the name identical to the LLVM parameter.
1 parent 5043ed4 commit 218b37e

File tree

24 files changed

+52
-52
lines changed

24 files changed

+52
-52
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ endfunction()
642642
# [LINK_LIBRARIES dep1 ...]
643643
# [FRAMEWORK_DEPENDS dep1 ...]
644644
# [FRAMEWORK_DEPENDS_WEAK dep1 ...]
645-
# [LLVM_COMPONENT_DEPENDS comp1 ...]
645+
# [LLVM_LINK_COMPONENTS comp1 ...]
646646
# [C_COMPILE_FLAGS flag1...]
647647
# [SWIFT_COMPILE_FLAGS flag1...]
648648
# [LINK_FLAGS flag1...]
@@ -688,7 +688,7 @@ endfunction()
688688
# FRAMEWORK_DEPENDS_WEAK
689689
# System frameworks this library depends on that should be weakly-linked.
690690
#
691-
# LLVM_COMPONENT_DEPENDS
691+
# LLVM_LINK_COMPONENTS
692692
# LLVM components this library depends on.
693693
#
694694
# C_COMPILE_FLAGS
@@ -753,7 +753,7 @@ function(_add_swift_library_single target name)
753753
INTERFACE_LINK_LIBRARIES
754754
LINK_FLAGS
755755
LINK_LIBRARIES
756-
LLVM_COMPONENT_DEPENDS
756+
LLVM_LINK_COMPONENTS
757757
PRIVATE_LINK_LIBRARIES
758758
SWIFT_COMPILE_FLAGS)
759759

@@ -1190,7 +1190,7 @@ function(_add_swift_library_single target name)
11901190

11911191
if(NOT SWIFTLIB_SINGLE_TARGET_LIBRARY)
11921192
# Call llvm_config() only for libraries that are part of the compiler.
1193-
swift_common_llvm_config("${target}" ${SWIFTLIB_SINGLE_LLVM_COMPONENT_DEPENDS})
1193+
swift_common_llvm_config("${target}" ${SWIFTLIB_SINGLE_LLVM_LINK_COMPONENTS})
11941194
endif()
11951195

11961196
# Collect compile and link flags for the static and non-static targets.
@@ -1376,7 +1376,7 @@ endfunction()
13761376
# add_swift_host_library(name
13771377
# [SHARED]
13781378
# [STATIC]
1379-
# [LLVM_COMPONENT_DEPENDS comp1 ...]
1379+
# [LLVM_LINK_COMPONENTS comp1 ...]
13801380
# [FILE_DEPENDS target1 ...]
13811381
# source1 [source2 source3 ...])
13821382
#
@@ -1389,7 +1389,7 @@ endfunction()
13891389
# STATIC
13901390
# Build a static library.
13911391
#
1392-
# LLVM_COMPONENT_DEPENDS
1392+
# LLVM_LINK_COMPONENTS
13931393
# LLVM components this library depends on.
13941394
#
13951395
# FILE_DEPENDS
@@ -1409,7 +1409,7 @@ function(add_swift_host_library name)
14091409
FILE_DEPENDS
14101410
INTERFACE_LINK_LIBRARIES
14111411
LINK_LIBRARIES
1412-
LLVM_COMPONENT_DEPENDS)
1412+
LLVM_LINK_COMPONENTS)
14131413

14141414
cmake_parse_arguments(ASHL
14151415
"${options}"
@@ -1446,7 +1446,7 @@ function(add_swift_host_library name)
14461446
${ASHL_FORCE_BUILD_OPTIMIZED_keyword}
14471447
SDK ${SWIFT_HOST_VARIANT_SDK}
14481448
ARCHITECTURE ${SWIFT_HOST_VARIANT_ARCH}
1449-
LLVM_COMPONENT_DEPENDS ${ASHL_LLVM_COMPONENT_DEPENDS}
1449+
LLVM_LINK_COMPONENTS ${ASHL_LLVM_LINK_COMPONENTS}
14501450
FILE_DEPENDS ${ASHL_FILE_DEPENDS}
14511451
INSTALL_IN_COMPONENT "dev"
14521452
)
@@ -1482,7 +1482,7 @@ endfunction()
14821482
# [SWIFT_MODULE_DEPENDS dep1 ...]
14831483
# [FRAMEWORK_DEPENDS dep1 ...]
14841484
# [FRAMEWORK_DEPENDS_WEAK dep1 ...]
1485-
# [LLVM_COMPONENT_DEPENDS comp1 ...]
1485+
# [LLVM_LINK_COMPONENTS comp1 ...]
14861486
# [FILE_DEPENDS target1 ...]
14871487
# [TARGET_SDKS sdk1...]
14881488
# [C_COMPILE_FLAGS flag1...]
@@ -1548,7 +1548,7 @@ endfunction()
15481548
# FRAMEWORK_DEPENDS_WEAK
15491549
# System frameworks this library depends on that should be weak-linked
15501550
#
1551-
# LLVM_COMPONENT_DEPENDS
1551+
# LLVM_LINK_COMPONENTS
15521552
# LLVM components this library depends on.
15531553
#
15541554
# FILE_DEPENDS
@@ -1634,7 +1634,7 @@ function(add_swift_target_library name)
16341634
INTERFACE_LINK_LIBRARIES
16351635
LINK_FLAGS
16361636
LINK_LIBRARIES
1637-
LLVM_COMPONENT_DEPENDS
1637+
LLVM_LINK_COMPONENTS
16381638
PRIVATE_LINK_LIBRARIES
16391639
SWIFT_COMPILE_FLAGS
16401640
SWIFT_COMPILE_FLAGS_IOS
@@ -1906,7 +1906,7 @@ function(add_swift_target_library name)
19061906
LINK_LIBRARIES ${swiftlib_link_libraries}
19071907
FRAMEWORK_DEPENDS ${swiftlib_framework_depends_flattened}
19081908
FRAMEWORK_DEPENDS_WEAK ${SWIFTLIB_FRAMEWORK_DEPENDS_WEAK}
1909-
LLVM_COMPONENT_DEPENDS ${SWIFTLIB_LLVM_COMPONENT_DEPENDS}
1909+
LLVM_LINK_COMPONENTS ${SWIFTLIB_LLVM_LINK_COMPONENTS}
19101910
FILE_DEPENDS ${SWIFTLIB_FILE_DEPENDS} ${swiftlib_module_dependency_targets}
19111911
C_COMPILE_FLAGS ${swiftlib_c_compile_flags_all}
19121912
SWIFT_COMPILE_FLAGS ${swiftlib_swift_compile_flags_all} ${swiftlib_swift_compile_flags_arch} ${swiftlib_swift_compile_private_frameworks_flag}
@@ -2122,7 +2122,7 @@ function(_add_swift_executable_single name)
21222122
cmake_parse_arguments(SWIFTEXE_SINGLE
21232123
"EXCLUDE_FROM_ALL"
21242124
"SDK;ARCHITECTURE"
2125-
"DEPENDS;LLVM_COMPONENT_DEPENDS;LINK_LIBRARIES;COMPILE_FLAGS"
2125+
"DEPENDS;LLVM_LINK_COMPONENTS;LINK_LIBRARIES;COMPILE_FLAGS"
21262126
${ARGN})
21272127

21282128
set(SWIFTEXE_SINGLE_SOURCES ${SWIFTEXE_SINGLE_UNPARSED_ARGUMENTS})
@@ -2223,7 +2223,7 @@ function(_add_swift_executable_single name)
22232223
LIBRARY_DIR ${SWIFT_LIBRARY_OUTPUT_INTDIR})
22242224

22252225
target_link_libraries("${name}" PRIVATE ${SWIFTEXE_SINGLE_LINK_LIBRARIES})
2226-
swift_common_llvm_config("${name}" ${SWIFTEXE_SINGLE_LLVM_COMPONENT_DEPENDS})
2226+
swift_common_llvm_config("${name}" ${SWIFTEXE_SINGLE_LLVM_LINK_COMPONENTS})
22272227

22282228
set_target_properties(${name} PROPERTIES FOLDER "Swift executables")
22292229
endfunction()

lib/AST/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ if (SWIFT_FORCE_OPTIMIZED_TYPECHECKER)
44
endif()
55

66
if(SWIFT_BUILD_ONLY_SYNTAXPARSERLIB)
7-
set(SWIFTAST_LLVM_COMPONENT_DEPENDS)
7+
set(SWIFTAST_LLVM_LINK_COMPONENTS)
88
else()
9-
set(SWIFTAST_LLVM_COMPONENT_DEPENDS
9+
set(SWIFTAST_LLVM_LINK_COMPONENTS
1010
bitreader bitwriter coroutines coverage irreader debuginfoDWARF
1111
profiledata instrumentation object objcarcopts mc mcparser
1212
bitreader bitwriter lto ipo option core support ${LLVM_TARGETS_TO_BUILD}
@@ -75,8 +75,8 @@ add_swift_host_library(swiftAST STATIC
7575
UnqualifiedLookup.cpp
7676
USRGeneration.cpp
7777

78-
LLVM_COMPONENT_DEPENDS
79-
${SWIFTAST_LLVM_COMPONENT_DEPENDS}
78+
LLVM_LINK_COMPONENTS
79+
${SWIFTAST_LLVM_LINK_COMPONENTS}
8080

8181
${EXTRA_AST_FLAGS}
8282
)

lib/ASTSectionImporter/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
add_swift_host_library(swiftASTSectionImporter STATIC
22
ASTSectionImporter.cpp
3-
LLVM_COMPONENT_DEPENDS core)
3+
LLVM_LINK_COMPONENTS core)
44
target_link_libraries(swiftASTSectionImporter PRIVATE
55
swiftBasic)
66

lib/Basic/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ add_swift_host_library(swiftBasic STATIC
105105
GYB_SOURCES
106106
UnicodeExtendedGraphemeClusters.cpp.gyb
107107

108-
LLVM_COMPONENT_DEPENDS support)
108+
LLVM_LINK_COMPONENTS support)
109109
target_include_directories(swiftBasic PRIVATE
110110
${UUID_INCLUDE})
111111

lib/IRGen/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ add_swift_host_library(swiftIRGen STATIC
5151
TypeLayoutDumper.cpp
5252
TypeLayoutVerifier.cpp
5353

54-
LLVM_COMPONENT_DEPENDS
54+
LLVM_LINK_COMPONENTS
5555
target
5656
transformutils
5757
)

lib/Immediate/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
add_swift_host_library(swiftImmediate STATIC
22
Immediate.cpp
33
REPL.cpp
4-
LLVM_COMPONENT_DEPENDS
4+
LLVM_LINK_COMPONENTS
55
executionengine
66
linker
77
mcjit

lib/LLVMPasses/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ add_swift_host_library(swiftLLVMPasses STATIC
66
LLVMInlineTree.cpp
77
LLVMMergeFunctions.cpp
88

9-
LLVM_COMPONENT_DEPENDS
9+
LLVM_LINK_COMPONENTS
1010
analysis
1111
)
1212

lib/TBDGen/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ add_subdirectory(tapi)
33
add_swift_host_library(swiftTBDGen STATIC
44
${TAPI_SOURCES}
55
TBDGen.cpp
6-
LLVM_COMPONENT_DEPENDS
6+
LLVM_LINK_COMPONENTS
77
demangle
88
)
99
target_link_libraries(swiftTBDGen PRIVATE

stdlib/cmake/modules/AddSwiftStdlib.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function(add_swift_target_executable name)
1010
cmake_parse_arguments(SWIFTEXE_TARGET
1111
"EXCLUDE_FROM_ALL;;BUILD_WITH_STDLIB"
1212
""
13-
"DEPENDS;LLVM_COMPONENT_DEPENDS;LINK_LIBRARIES"
13+
"DEPENDS;LLVM_LINK_COMPONENTS;LINK_LIBRARIES"
1414
${ARGN})
1515

1616
set(SWIFTEXE_TARGET_SOURCES ${SWIFTEXE_TARGET_UNPARSED_ARGUMENTS})
@@ -56,7 +56,7 @@ function(add_swift_target_executable name)
5656
${VARIANT_NAME}
5757
${SWIFTEXE_TARGET_SOURCES}
5858
DEPENDS ${SWIFTEXE_TARGET_DEPENDS_with_suffix}
59-
LLVM_COMPONENT_DEPENDS ${SWIFTEXE_TARGET_LLVM_COMPONENT_DEPENDS}
59+
LLVM_LINK_COMPONENTS ${SWIFTEXE_TARGET_LLVM_LINK_COMPONENTS}
6060
SDK "${sdk}"
6161
ARCHITECTURE "${arch}"
6262
LINK_LIBRARIES ${SWIFTEXE_TARGET_LINK_LIBRARIES}

tools/SourceKit/cmake/modules/AddSwiftSourceKit.cmake

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@ endfunction()
8989
# add_sourcekit_library(name # Name of the library
9090
# [LINK_LIBS dep1 ...] # Libraries this library will be linked with
9191
# [DEPENDS dep1 ...] # Targets this library depends on
92-
# [LLVM_COMPONENT_DEPENDS comp1 ...] # LLVM components this library depends on
92+
# [LLVM_LINK_COMPONENTS comp1 ...] # LLVM components this library depends on
9393
# [INSTALL_IN_COMPONENT comp] # The Swift installation component that this library belongs to.
9494
# [SHARED]
9595
# source1 [source2 source3 ...]) # Sources to add into this library
9696
macro(add_sourcekit_library name)
9797
cmake_parse_arguments(SOURCEKITLIB
9898
"SHARED"
9999
"INSTALL_IN_COMPONENT"
100-
"HEADERS;LINK_LIBS;DEPENDS;LLVM_COMPONENT_DEPENDS"
100+
"HEADERS;LINK_LIBS;DEPENDS;LLVM_LINK_COMPONENTS"
101101
${ARGN})
102102
set(srcs ${SOURCEKITLIB_UNPARSED_ARGUMENTS})
103103

@@ -161,7 +161,7 @@ macro(add_sourcekit_library name)
161161
target_link_libraries("${name}" INTERFACE ${SOURCEKITLIB_LINK_LIBS})
162162
endif()
163163

164-
swift_common_llvm_config(${name} ${SOURCEKITLIB_LLVM_COMPONENT_DEPENDS})
164+
swift_common_llvm_config(${name} ${SOURCEKITLIB_LLVM_LINK_COMPONENTS})
165165

166166
if(SOURCEKITLIB_SHARED AND EXPORTED_SYMBOL_FILE)
167167
add_sourcekit_symbol_exports(${name} ${EXPORTED_SYMBOL_FILE})
@@ -205,7 +205,7 @@ endmacro()
205205
# Usage:
206206
# add_sourcekit_executable(name # Name of the executable
207207
# [LINK_LIBS dep1 ...] # Libraries this executable depends on
208-
# [LLVM_COMPONENT_DEPENDS comp1 ...] # LLVM components this executable
208+
# [LLVM_LINK_COMPONENTS comp1 ...] # LLVM components this executable
209209
# # depends on
210210
# [EXCLUDE_FROM_ALL] # Whether to exclude this executable from
211211
# # the ALL_BUILD target
@@ -214,7 +214,7 @@ macro(add_sourcekit_executable name)
214214
cmake_parse_arguments(SOURCEKITEXE
215215
"EXCLUDE_FROM_ALL"
216216
""
217-
"LINK_LIBS;LLVM_COMPONENT_DEPENDS"
217+
"LINK_LIBS;LLVM_LINK_COMPONENTS"
218218
${ARGN})
219219

220220
if (${SOURCEKITEXE_EXCLUDE_FROM_ALL})
@@ -233,7 +233,7 @@ macro(add_sourcekit_executable name)
233233
endif()
234234

235235
target_link_libraries(${name} PRIVATE ${SOURCEKITEXE_LINK_LIBS})
236-
swift_common_llvm_config(${name} ${SOURCEKITEXE_LLVM_COMPONENT_DEPENDS})
236+
swift_common_llvm_config(${name} ${SOURCEKITEXE_LLVM_LINK_COMPONENTS})
237237
target_link_libraries(${name} PRIVATE ${LLVM_COMMON_LIBS})
238238

239239
set_target_properties(${name} PROPERTIES FOLDER "SourceKit executables")
@@ -256,13 +256,13 @@ endmacro()
256256
# Usage:
257257
# add_sourcekit_framework(name # Name of the framework
258258
# [LINK_LIBS dep1 ...] # Libraries this framework will link with
259-
# [LLVM_COMPONENT_DEPENDS comp1 ...] # LLVM components this framework depends on
259+
# [LLVM_LINK_COMPONENTS comp1 ...] # LLVM components this framework depends on
260260
# [MODULEMAP modulemap] # Module map file for this framework
261261
# [INSTALL_IN_COMPONENT comp] # The Swift installation component that this framework belongs to.
262262
# source1 [source2 source3 ...]) # Sources to add into this framework
263263
macro(add_sourcekit_framework name)
264264
cmake_parse_arguments(SOURCEKITFW
265-
"" "MODULEMAP;INSTALL_IN_COMPONENT" "LINK_LIBS;LLVM_COMPONENT_DEPENDS" ${ARGN})
265+
"" "MODULEMAP;INSTALL_IN_COMPONENT" "LINK_LIBS;LLVM_LINK_COMPONENTS" ${ARGN})
266266
set(srcs ${SOURCEKITFW_UNPARSED_ARGUMENTS})
267267

268268
set(lib_dir ${SOURCEKIT_LIBRARY_OUTPUT_INTDIR})
@@ -305,7 +305,7 @@ macro(add_sourcekit_framework name)
305305
endif(LLVM_COMMON_DEPENDS)
306306

307307
target_link_libraries(${name} PRIVATE ${SOURCEKITFW_LINK_LIBS})
308-
swift_common_llvm_config(${name} ${SOURCEKITFW_LLVM_COMPONENT_DEPENDS})
308+
swift_common_llvm_config(${name} ${SOURCEKITFW_LLVM_LINK_COMPONENTS})
309309

310310
if (EXPORTED_SYMBOL_FILE)
311311
add_sourcekit_symbol_exports(${name} ${EXPORTED_SYMBOL_FILE})
@@ -375,10 +375,10 @@ endmacro(add_sourcekit_framework)
375375
# Usage:
376376
# add_sourcekit_xpc_service(name # Name of the XPC service
377377
# [LINK_LIBS dep1 ...] # Libraries this service will link with
378-
# [LLVM_COMPONENT_DEPENDS comp1 ...] # LLVM components this service depends on
378+
# [LLVM_LINK_COMPONENTS comp1 ...] # LLVM components this service depends on
379379
# source1 [source2 source3 ...]) # Sources to add into this service
380380
macro(add_sourcekit_xpc_service name framework_target)
381-
cmake_parse_arguments(SOURCEKITXPC "" "" "LINK_LIBS;LLVM_COMPONENT_DEPENDS" ${ARGN})
381+
cmake_parse_arguments(SOURCEKITXPC "" "" "LINK_LIBS;LLVM_LINK_COMPONENTS" ${ARGN})
382382
set(srcs ${SOURCEKITXPC_UNPARSED_ARGUMENTS})
383383

384384
set(lib_dir ${SOURCEKIT_LIBRARY_OUTPUT_INTDIR})
@@ -420,7 +420,7 @@ macro(add_sourcekit_xpc_service name framework_target)
420420
endif(LLVM_COMMON_DEPENDS)
421421

422422
target_link_libraries(${name} PRIVATE ${SOURCEKITXPC_LINK_LIBS})
423-
swift_common_llvm_config(${name} ${SOURCEKITXPC_LLVM_COMPONENT_DEPENDS})
423+
swift_common_llvm_config(${name} ${SOURCEKITXPC_LLVM_LINK_COMPONENTS})
424424
target_link_libraries(${name} PRIVATE ${LLVM_COMMON_LIBS})
425425

426426
add_dependencies(${framework_target} ${name})

tools/SourceKit/lib/SwiftLang/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ add_sourcekit_library(SourceKitSwiftLang
3535
clangAST
3636
clangAPINotes
3737
clangBasic
38-
LLVM_COMPONENT_DEPENDS ${LLVM_TARGETS_TO_BUILD}
38+
LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD}
3939
bitreader
4040
bitwriter
4141
coverage

tools/SourceKit/tools/complete-test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ endif()
77
add_sourcekit_executable(complete-test
88
complete-test.cpp
99
LINK_LIBS ${SOURCEKITD_TEST_LINK_LIBS}
10-
LLVM_COMPONENT_DEPENDS support option coverage lto
10+
LLVM_LINK_COMPONENTS support option coverage lto
1111
)
1212
if(SWIFT_NEED_EXPLICIT_LIBDISPATCH)
1313
target_link_libraries(complete-test PRIVATE dispatch BlocksRuntime)

tools/SourceKit/tools/sourcekitd-repl/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if(HAVE_UNICODE_LIBEDIT)
1111
add_sourcekit_executable(sourcekitd-repl
1212
sourcekitd-repl.cpp
1313
LINK_LIBS ${SOURCEKITD_REPL_LINK_LIBS} edit
14-
LLVM_COMPONENT_DEPENDS support coverage lto
14+
LLVM_LINK_COMPONENTS support coverage lto
1515
)
1616
if(SWIFT_NEED_EXPLICIT_LIBDISPATCH)
1717
target_link_libraries(sourcekitd-repl PRIVATE dispatch BlocksRuntime)

tools/SourceKit/tools/sourcekitd-test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ add_sourcekit_executable(sourcekitd-test
1313
TestOptions.cpp
1414
LINK_LIBS ${SOURCEKITD_TEST_LINK_LIBS} SourceKitSupport
1515
clangRewrite clangLex clangBasic
16-
LLVM_COMPONENT_DEPENDS core support option coverage lto
16+
LLVM_LINK_COMPONENTS core support option coverage lto
1717
)
1818
if(SWIFT_NEED_EXPLICIT_LIBDISPATCH)
1919
target_link_libraries(sourcekitd-test PRIVATE dispatch BlocksRuntime)

tools/SourceKit/tools/sourcekitd/bin/InProc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ option(SOURCEKITD_BUILD_STATIC_INPROC
66
set(sourcekitdInProc_args
77
sourcekitdInProc.cpp
88
LINK_LIBS SourceKitSwiftLang sourcekitdAPI
9-
LLVM_COMPONENT_DEPENDS support coverage
9+
LLVM_LINK_COMPONENTS support coverage
1010
)
1111

1212
if (SOURCEKIT_INSTALLING_INPROC)

tools/SourceKit/tools/sourcekitd/bin/XPC/Client/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ add_sourcekit_framework(sourcekitd
1111
${public_headers}
1212
sourcekitd.cpp
1313
LINK_LIBS sourcekitdAPI
14-
LLVM_COMPONENT_DEPENDS support
14+
LLVM_LINK_COMPONENTS support
1515
MODULEMAP module.modulemap
1616
INSTALL_IN_COMPONENT sourcekit-xpc-service
1717
)

tools/SourceKit/tools/sourcekitd/bin/XPC/Service/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ if (NOT SOURCEKIT_INSTALLING_INPROC)
22
add_sourcekit_xpc_service(SourceKitService sourcekitd
33
XPCService.cpp
44
LINK_LIBS SourceKitSwiftLang sourcekitdAPI
5-
LLVM_COMPONENT_DEPENDS support coverage
5+
LLVM_LINK_COMPONENTS support coverage
66
)
77
endif()
88

tools/swift-demangle-fuzzer/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
add_swift_fuzzer_host_tool(swift-demangle-fuzzer
22
swift-demangle-fuzzer.cpp
3-
LLVM_COMPONENT_DEPENDS support
3+
LLVM_LINK_COMPONENTS support
44
SWIFT_COMPONENT compiler
55
)
66
target_link_libraries(swift-demangle-fuzzer

tools/swift-demangle-yamldump/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
add_swift_host_tool(swift-demangle-yamldump
22
swift-demangle-yamldump.cpp
3-
LLVM_COMPONENT_DEPENDS support
3+
LLVM_LINK_COMPONENTS support
44
SWIFT_COMPONENT tools
55
)
66
target_link_libraries(swift-demangle-yamldump

0 commit comments

Comments
 (0)