Skip to content

Commit 4d4d6f6

Browse files
authored
Merge pull request #24508 from compnerd/matchy-matchy
build: rename `LLVM_COMPONENT_DEPENDS`
2 parents 7311886 + 218b37e commit 4d4d6f6

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
@@ -752,7 +752,7 @@ function(_add_swift_library_single target name)
752752
INCORPORATE_OBJECT_LIBRARIES_SHARED_ONLY
753753
LINK_FLAGS
754754
LINK_LIBRARIES
755-
LLVM_COMPONENT_DEPENDS
755+
LLVM_LINK_COMPONENTS
756756
PRIVATE_LINK_LIBRARIES
757757
SWIFT_COMPILE_FLAGS)
758758

@@ -1188,7 +1188,7 @@ function(_add_swift_library_single target name)
11881188

11891189
if(NOT SWIFTLIB_SINGLE_TARGET_LIBRARY)
11901190
# Call llvm_config() only for libraries that are part of the compiler.
1191-
swift_common_llvm_config("${target}" ${SWIFTLIB_SINGLE_LLVM_COMPONENT_DEPENDS})
1191+
swift_common_llvm_config("${target}" ${SWIFTLIB_SINGLE_LLVM_LINK_COMPONENTS})
11921192
endif()
11931193

11941194
# Collect compile and link flags for the static and non-static targets.
@@ -1366,7 +1366,7 @@ endfunction()
13661366
# add_swift_host_library(name
13671367
# [SHARED]
13681368
# [STATIC]
1369-
# [LLVM_COMPONENT_DEPENDS comp1 ...]
1369+
# [LLVM_LINK_COMPONENTS comp1 ...]
13701370
# [FILE_DEPENDS target1 ...]
13711371
# source1 [source2 source3 ...])
13721372
#
@@ -1379,7 +1379,7 @@ endfunction()
13791379
# STATIC
13801380
# Build a static library.
13811381
#
1382-
# LLVM_COMPONENT_DEPENDS
1382+
# LLVM_LINK_COMPONENTS
13831383
# LLVM components this library depends on.
13841384
#
13851385
# FILE_DEPENDS
@@ -1398,7 +1398,7 @@ function(add_swift_host_library name)
13981398
DEPENDS
13991399
FILE_DEPENDS
14001400
LINK_LIBRARIES
1401-
LLVM_COMPONENT_DEPENDS)
1401+
LLVM_LINK_COMPONENTS)
14021402

14031403
cmake_parse_arguments(ASHL
14041404
"${options}"
@@ -1432,7 +1432,7 @@ function(add_swift_host_library name)
14321432
${ASHL_FORCE_BUILD_OPTIMIZED_keyword}
14331433
SDK ${SWIFT_HOST_VARIANT_SDK}
14341434
ARCHITECTURE ${SWIFT_HOST_VARIANT_ARCH}
1435-
LLVM_COMPONENT_DEPENDS ${ASHL_LLVM_COMPONENT_DEPENDS}
1435+
LLVM_LINK_COMPONENTS ${ASHL_LLVM_LINK_COMPONENTS}
14361436
FILE_DEPENDS ${ASHL_FILE_DEPENDS}
14371437
INSTALL_IN_COMPONENT "dev"
14381438
)
@@ -1467,7 +1467,7 @@ endfunction()
14671467
# [SWIFT_MODULE_DEPENDS dep1 ...]
14681468
# [FRAMEWORK_DEPENDS dep1 ...]
14691469
# [FRAMEWORK_DEPENDS_WEAK dep1 ...]
1470-
# [LLVM_COMPONENT_DEPENDS comp1 ...]
1470+
# [LLVM_LINK_COMPONENTS comp1 ...]
14711471
# [FILE_DEPENDS target1 ...]
14721472
# [TARGET_SDKS sdk1...]
14731473
# [C_COMPILE_FLAGS flag1...]
@@ -1533,7 +1533,7 @@ endfunction()
15331533
# FRAMEWORK_DEPENDS_WEAK
15341534
# System frameworks this library depends on that should be weak-linked
15351535
#
1536-
# LLVM_COMPONENT_DEPENDS
1536+
# LLVM_LINK_COMPONENTS
15371537
# LLVM components this library depends on.
15381538
#
15391539
# FILE_DEPENDS
@@ -1618,7 +1618,7 @@ function(add_swift_target_library name)
16181618
INCORPORATE_OBJECT_LIBRARIES_SHARED_ONLY
16191619
LINK_FLAGS
16201620
LINK_LIBRARIES
1621-
LLVM_COMPONENT_DEPENDS
1621+
LLVM_LINK_COMPONENTS
16221622
PRIVATE_LINK_LIBRARIES
16231623
SWIFT_COMPILE_FLAGS
16241624
SWIFT_COMPILE_FLAGS_IOS
@@ -1890,7 +1890,7 @@ function(add_swift_target_library name)
18901890
LINK_LIBRARIES ${swiftlib_link_libraries}
18911891
FRAMEWORK_DEPENDS ${swiftlib_framework_depends_flattened}
18921892
FRAMEWORK_DEPENDS_WEAK ${SWIFTLIB_FRAMEWORK_DEPENDS_WEAK}
1893-
LLVM_COMPONENT_DEPENDS ${SWIFTLIB_LLVM_COMPONENT_DEPENDS}
1893+
LLVM_LINK_COMPONENTS ${SWIFTLIB_LLVM_LINK_COMPONENTS}
18941894
FILE_DEPENDS ${SWIFTLIB_FILE_DEPENDS} ${swiftlib_module_dependency_targets}
18951895
C_COMPILE_FLAGS ${swiftlib_c_compile_flags_all}
18961896
SWIFT_COMPILE_FLAGS ${swiftlib_swift_compile_flags_all} ${swiftlib_swift_compile_flags_arch} ${swiftlib_swift_compile_private_frameworks_flag}
@@ -2106,7 +2106,7 @@ function(_add_swift_executable_single name)
21062106
cmake_parse_arguments(SWIFTEXE_SINGLE
21072107
"EXCLUDE_FROM_ALL"
21082108
"SDK;ARCHITECTURE"
2109-
"DEPENDS;LLVM_COMPONENT_DEPENDS;LINK_LIBRARIES;COMPILE_FLAGS"
2109+
"DEPENDS;LLVM_LINK_COMPONENTS;LINK_LIBRARIES;COMPILE_FLAGS"
21102110
${ARGN})
21112111

21122112
set(SWIFTEXE_SINGLE_SOURCES ${SWIFTEXE_SINGLE_UNPARSED_ARGUMENTS})
@@ -2207,7 +2207,7 @@ function(_add_swift_executable_single name)
22072207
LIBRARY_DIR ${SWIFT_LIBRARY_OUTPUT_INTDIR})
22082208

22092209
target_link_libraries("${name}" PRIVATE ${SWIFTEXE_SINGLE_LINK_LIBRARIES})
2210-
swift_common_llvm_config("${name}" ${SWIFTEXE_SINGLE_LLVM_COMPONENT_DEPENDS})
2210+
swift_common_llvm_config("${name}" ${SWIFTEXE_SINGLE_LLVM_LINK_COMPONENTS})
22112211

22122212
set_target_properties(${name} PROPERTIES FOLDER "Swift executables")
22132213
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)