Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swift-atomics required as a library dependency. #5

Open
wallysaurus opened this issue Feb 15, 2023 · 0 comments
Open

swift-atomics required as a library dependency. #5

wallysaurus opened this issue Feb 15, 2023 · 0 comments

Comments

@wallysaurus
Copy link

wallysaurus commented Feb 15, 2023

import PackageDescription

let package = Package(
  name: "Scenes3D",
  products: [
    // Products define the executables and libraries a package produces, and make them visible to other packages.
    .library(
      name: "Scenes3D",
      type: .dynamic,
      targets: ["Scenes3D"]),
  ],
  dependencies: [
        .package(url: "https://github.com/apple/swift-atomics.git", from: "1.0.2")
    ],
  targets: [
    // Targets are the basic building blocks of a package. A target can define a module or a test suite.
    // Targets can depend on other targets in this package, and on products in packages this package depends on.
    .target(
      name: "Scenes3D",
      dependencies: [.product(name: "Atomics", package: "swift-atomics")]),
  ]
)
    ]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant