Skip to content

Commit 60ad84c

Browse files
committed
WinSDK: make ClangModules public
When building against the build tree, we need to ensure that the flags for the ClangModule propagate. This is required to ensure that we get the modules visible even when building the rest of the SDK.
1 parent 914b7ce commit 60ad84c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Runtimes/Overlay/Windows/WinSDK/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ target_compile_definitions(swiftWinSDK PRIVATE
77
$<$<BOOL:${SwiftOverlay_ENABLE_REFLECTION}>:SWIFT_ENABLE_REFLECTION>)
88
target_compile_options(swiftWinSDK PRIVATE
99
"SHELL:-Xfrontend -disable-force-load-symbols")
10+
target_link_libraries(swiftWinSDK PUBLIC
11+
ClangModules)
1012
target_link_libraries(swiftWinSDK PRIVATE
11-
ClangModules
1213
swiftCore)
1314

1415
# FIXME: Why is this not implicitly in the interface flags?

0 commit comments

Comments
 (0)