Skip to content

Commit 614c98b

Browse files
committed
Build: treat SwiftDriver as a private link dependency
This module is marked as `@_implementationOnly`. The users of `Build` should not have to link against `SwiftDriver`.
1 parent 70c43a5 commit 614c98b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/Build/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ target_link_libraries(Build PUBLIC
1919
LLBuildManifest
2020
SPMBuildCore
2121
CYaml
22-
Yams
22+
Yams)
23+
target_link_libraries(Build PRIVATE
2324
SwiftDriver)
2425

2526
# NOTE(compnerd) workaround for CMake not setting up include flags yet

0 commit comments

Comments
 (0)