We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cce9ae7 + b14ea19 commit 5d3ae62Copy full SHA for 5d3ae62
CMakeLists.txt
@@ -434,7 +434,7 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows" AND BOOTSTRAPPING_MODE STREQUAL "HO
434
endif()
435
436
if(BRIDGING_MODE STREQUAL "DEFAULT" OR NOT BRIDGING_MODE)
437
- if(CMAKE_BUILD_TYPE STREQUAL "Debug" OR (CMAKE_Swift_COMPILER AND CMAKE_Swift_COMPILER_VERSION VERSION_LESS 5.8))
+ if(CMAKE_BUILD_TYPE STREQUAL "Debug" OR "${SWIFT_HOST_VARIANT_SDK}" STREQUAL "WINDOWS" OR (CMAKE_Swift_COMPILER AND CMAKE_Swift_COMPILER_VERSION VERSION_LESS 5.8))
438
# In debug builds, to workaround a problem with LLDB's `po` command (rdar://115770255).
439
# If the host Swift version is less than 5.8, use pure mode to workaround a C++ interop compiler crash.
440
set(BRIDGING_MODE "PURE")
0 commit comments