mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-06 00:00:03 +08:00
Define necessary directives for OpenVPNAdapter
This commit is contained in:
@@ -20,7 +20,13 @@ let package = Package(
|
|||||||
],
|
],
|
||||||
sources: ["library"],
|
sources: ["library"],
|
||||||
cxxSettings: [
|
cxxSettings: [
|
||||||
|
.headerSearchPath("../ASIO/asio/include"),
|
||||||
.headerSearchPath("../OpenVPN3"),
|
.headerSearchPath("../OpenVPN3"),
|
||||||
|
.define("ASIO_STANDALONE"),
|
||||||
|
.define("ASIO_NO_DEPRECATED"),
|
||||||
|
.define("ASIO_HAS_STD_STRING_VIEW"),
|
||||||
|
.define("USE_ASIO"),
|
||||||
|
.define("USE_ASIO_THREADLOCAL")
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
.target(
|
.target(
|
||||||
|
|||||||
Reference in New Issue
Block a user