// swift-tools-version:4.2
import PackageDescription

let package = Package(
    name: "Clang",
    products: [
      .library(
        name: "Clang",
        targets: ["Clang"])
    ],
    dependencies: [ ],
    targets: [
      .systemLibrary(
        name: "cclang",
        pkgConfig: "cclang",
        providers: [
          .brew(["llvm"]),
        ]),
      .target(
        name: "Clang",
        dependencies: ["cclang"]),
      .testTarget(
        name: "ClangTests",
        dependencies: ["Clang"])
    ]
)

// swift-tools-version:5.0
import PackageDescription

let package = Package(
    name: "Clang",
    products: [
      .library(
        name: "Clang",
        targets: ["Clang"])
    ],
    dependencies: [ ],
    targets: [
      .systemLibrary(
        name: "cclang",
        pkgConfig: "cclang",
        providers: [
          .brew(["llvm"]),
        ]),
      .target(
        name: "Clang",
        dependencies: ["cclang"]),
      .testTarget(
        name: "ClangTests",
        dependencies: ["Clang"])
    ]
)

Use swift tools version 5
Use swift tools version 5
