Skip to content

Commit 79ca98d

Browse files
committed
[cmake] Properly use COMPONENT_DEPENDS when adding the dependency from swiftLLVMPasses on LLVMAnalysis.
We were previously just getting lucky. This ensures that we are doing this correctly. rdar://26357000
1 parent e248f83 commit 79ca98d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/LLVMPasses/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ add_swift_library(swiftLLVMPasses
66
LLVMInlineTree.cpp
77
LLVMStackPromotion.cpp
88
LLVMMergeFunctions.cpp
9+
10+
COMPONENT_DEPENDS
11+
analysis
912
)
1013

11-
add_dependencies(swiftLLVMPasses LLVMAnalysis)

0 commit comments

Comments
 (0)