mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Use an active compilation condition to build SourceKit-LSP without SwiftPM support
This is more explicit than using `#if canImport(PackageModel)`.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if canImport(PackageModel)
|
||||
#if !NO_SWIFTPM_DEPENDENCY
|
||||
import Basics
|
||||
@preconcurrency import Build
|
||||
import Dispatch
|
||||
|
||||
Reference in New Issue
Block a user