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 368ca18 + 522f97d commit 16df434Copy full SHA for 16df434
cmake/modules/AddSwiftBlocksSupport.cmake
tools/SourceKit/cmake/modules/AddSwiftSourceKit.cmake
@@ -1,4 +1,3 @@
1
-include(AddSwiftBlocksSupport)
2
3
function(add_sourcekit_symbol_exports target_name export_file)
4
# Makefile.rules contains special cases for different platforms.
@@ -75,10 +74,9 @@ function(add_sourcekit_default_compiler_flags target)
75
74
76
# Set compilation and link flags.
77
set_property(TARGET "${target}" APPEND_STRING PROPERTY
78
- COMPILE_FLAGS " ${c_compile_flags}")
+ COMPILE_FLAGS " ${c_compile_flags} -fblocks")
79
80
LINK_FLAGS " ${link_flags}")
81
- swift_add_blocks_support("${target}")
82
endfunction()
83
84
# Add a new SourceKit library.
0 commit comments