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 72dd50e + 7e03e76 commit ccfe3fcCopy full SHA for ccfe3fc
cmake/modules/AddSwiftHostLibrary.cmake
@@ -56,6 +56,9 @@ function(add_swift_syntax_library name)
56
57
# Create the library target.
58
add_library(${target} ${ASHL_SOURCES})
59
+ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
60
+ target_link_libraries(${target} PUBLIC swiftSwiftOnoneSupport)
61
+ endif()
62
63
if(SWIFTSYNTAX_EMIT_MODULE)
64
# Determine where Swift modules will be built and installed.
0 commit comments