mirror of
https://github.com/facebook/zstd.git
synced 2025-07-29 11:21:22 +03:00
Using module.modulemap
replace symbol link for public header
This commit is contained in:
@ -11,8 +11,8 @@ let package = Package(
|
||||
products: [
|
||||
// Products define the executables and libraries a package produces, and make them visible to other packages.
|
||||
.library(
|
||||
name: "zstd",
|
||||
targets: [ "zstd" ])
|
||||
name: "libzstd",
|
||||
targets: [ "libzstd" ])
|
||||
],
|
||||
dependencies: [
|
||||
// Dependencies declare other packages that this package depends on.
|
||||
@ -22,10 +22,10 @@ let package = Package(
|
||||
// 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: "zstd",
|
||||
name: "libzstd",
|
||||
path: "lib",
|
||||
sources: [ "common", "compress", "decompress", "dictBuilder" ],
|
||||
publicHeadersPath: "include",
|
||||
publicHeadersPath: "modulemap",
|
||||
cSettings: [
|
||||
.headerSearchPath(".")
|
||||
])
|
||||
|
Reference in New Issue
Block a user