diff --git a/Package.swift b/Package.swift index c566f2b7..b681a391 100644 --- a/Package.swift +++ b/Package.swift @@ -34,11 +34,13 @@ let conceptExerciseTargets: [Target] = conceptExercises.flatMap { return [ .target( name:"\($0.pascalCased)", + dependencies: [.product(name: "Numerics", package: "swift-numerics")], path:"./exercises/concept/\($0)/.meta/Sources"), .testTarget( name:"\($0.pascalCased)Tests", dependencies: [ - .target(name:"\($0.pascalCased)") + .target(name:"\($0.pascalCased)"), + .product(name: "Numerics", package: "swift-numerics") ], path:"./exercises/concept/\($0)/Tests", exclude: ["LinuxMain.swift"])