Skip to content

Commit 51c9539

Browse files
committed
[cxx-interop] Build CxxStdlib module when SWIFT_BUILD_SDK_OVERLAY=NO
The C++ stdlib overlay binaries now a part of the toolchain, not the OS SDKs. This makes sure that these binaries are built when building the toolchain separately from the stdlib. rdar://106002094
1 parent a05853b commit 51c9539

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

stdlib/public/Cxx/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,5 @@ add_swift_target_library(swiftCxx ${SWIFT_CXX_LIBRARY_KIND} NO_LINK_NAME IS_STDL
2323
INSTALL_IN_COMPONENT compiler
2424
INSTALL_WITH_SHARED)
2525

26-
if(SWIFT_BUILD_SDK_OVERLAY OR SWIFT_BUILD_TEST_SUPPORT_MODULES)
27-
add_subdirectory(std)
28-
endif()
26+
add_subdirectory(std)
2927
add_subdirectory(cxxshim)

0 commit comments

Comments
 (0)