Skip to content

Commit 33d77a6

Browse files
committed
CRT: 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 9273b22 commit 33d77a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Runtimes/Overlay/Windows/CRT/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ target_compile_definitions(swiftCRT PRIVATE
1414
target_compile_options(swiftCRT PRIVATE
1515
"SHELL:-Xfrontend -disable-force-load-symbols"
1616
"SHELL:-Xcc -D_USE_MATH_DEFINES")
17+
target_link_libraries(swiftCRT PUBLIC
18+
ClangModules)
1719
target_link_libraries(swiftCRT PRIVATE
18-
ClangModules
1920
swiftCore)
2021

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

0 commit comments

Comments
 (0)