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.
1 parent 4b4751c commit 7478df0Copy full SHA for 7478df0
tools/SourceKit/cmake/modules/AddSwiftSourceKit.cmake
@@ -362,6 +362,11 @@ macro(add_sourcekit_framework name)
362
set(lib_dir ${SOURCEKIT_LIBRARY_OUTPUT_INTDIR})
363
set(framework_location "${lib_dir}/${name}.framework")
364
365
+ # Once the new Swift parser is linked, everything has Swift modules.
366
+ if (SWIFT_SWIFT_PARSER)
367
+ set(SOURCEKITFW_HAS_SWIFT_MODULES ON)
368
+ endif()
369
+
370
if (NOT SOURCEKIT_DEPLOYMENT_OS MATCHES "^macosx")
371
set(FLAT_FRAMEWORK_NAME "${name}")
372
set(FLAT_FRAMEWORK_IDENTIFIER "com.apple.${name}")
0 commit comments