mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
build: fix xcode build (#5521)
This commit is contained in:
@@ -3725,6 +3725,19 @@
|
|||||||
buildSettings = {
|
buildSettings = {
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "c++17";
|
CLANG_CXX_LANGUAGE_STANDARD = "c++17";
|
||||||
CLANG_CXX_LIBRARY = "libc++";
|
CLANG_CXX_LIBRARY = "libc++";
|
||||||
|
HEADER_SEARCH_PATHS = (
|
||||||
|
"$(inherited)",
|
||||||
|
"third-party/dht",
|
||||||
|
"third-party/fast_float/include",
|
||||||
|
"third-party/wide-integer",
|
||||||
|
"third-party/libb64/include",
|
||||||
|
"third-party/libdeflate",
|
||||||
|
"third-party/libpsl/include",
|
||||||
|
"third-party/libutp/include",
|
||||||
|
"third-party/utfcpp/source",
|
||||||
|
"third-party/jsonsl",
|
||||||
|
"third-party/wildmat",
|
||||||
|
);
|
||||||
OTHER_CFLAGS = (
|
OTHER_CFLAGS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"-DWITH_UTP",
|
"-DWITH_UTP",
|
||||||
@@ -3744,17 +3757,17 @@
|
|||||||
"third-party/libb64/include",
|
"third-party/libb64/include",
|
||||||
"third-party/libdeflate",
|
"third-party/libdeflate",
|
||||||
"third-party/libevent/include",
|
"third-party/libevent/include",
|
||||||
"third-party/libnatpmp",
|
"third-party/libnatpmp/*.h",
|
||||||
"third-party/libpsl/include",
|
"third-party/libpsl/include",
|
||||||
"third-party/libutp/include",
|
"third-party/libutp/include",
|
||||||
"third-party/miniupnpc",
|
"third-party/miniupnpc/*.h",
|
||||||
"third-party/utfcpp/source",
|
"third-party/utfcpp/source",
|
||||||
"third-party/wide-integer",
|
"third-party/wide-integer",
|
||||||
"third-party/wildmat",
|
"third-party/wildmat",
|
||||||
);
|
);
|
||||||
USER_HEADER_SEARCH_PATHS = (
|
USER_HEADER_SEARCH_PATHS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"."
|
.,
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
name = Debug;
|
name = Debug;
|
||||||
@@ -3998,17 +4011,17 @@
|
|||||||
"third-party/libb64/include",
|
"third-party/libb64/include",
|
||||||
"third-party/libdeflate",
|
"third-party/libdeflate",
|
||||||
"third-party/libevent/include",
|
"third-party/libevent/include",
|
||||||
"third-party/libnatpmp",
|
"third-party/libnatpmp/*.h",
|
||||||
"third-party/libpsl/include",
|
"third-party/libpsl/include",
|
||||||
"third-party/libutp/include",
|
"third-party/libutp/include",
|
||||||
"third-party/miniupnpc",
|
"third-party/miniupnpc/*.h",
|
||||||
"third-party/utfcpp/source",
|
"third-party/utfcpp/source",
|
||||||
"third-party/wide-integer",
|
"third-party/wide-integer",
|
||||||
"third-party/wildmat",
|
"third-party/wildmat",
|
||||||
);
|
);
|
||||||
USER_HEADER_SEARCH_PATHS = (
|
USER_HEADER_SEARCH_PATHS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
".",
|
.,
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
name = Release;
|
name = Release;
|
||||||
@@ -4324,17 +4337,17 @@
|
|||||||
"third-party/libb64/include",
|
"third-party/libb64/include",
|
||||||
"third-party/libdeflate",
|
"third-party/libdeflate",
|
||||||
"third-party/libevent/include",
|
"third-party/libevent/include",
|
||||||
"third-party/libnatpmp",
|
"third-party/libnatpmp/*.h",
|
||||||
"third-party/libpsl/include",
|
"third-party/libpsl/include",
|
||||||
"third-party/libutp/include",
|
"third-party/libutp/include",
|
||||||
"third-party/miniupnpc",
|
"third-party/miniupnpc/*.h",
|
||||||
"third-party/utfcpp/source",
|
"third-party/utfcpp/source",
|
||||||
"third-party/wide-integer",
|
"third-party/wide-integer",
|
||||||
"third-party/wildmat",
|
"third-party/wildmat",
|
||||||
);
|
);
|
||||||
USER_HEADER_SEARCH_PATHS = (
|
USER_HEADER_SEARCH_PATHS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
".",
|
.,
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
name = "Release - Debug";
|
name = "Release - Debug";
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
#include <fmt/core.h>
|
#include <fmt/core.h>
|
||||||
|
|
||||||
#define ENABLE_STRNATPMPERR
|
#define ENABLE_STRNATPMPERR
|
||||||
#include <natpmp.h>
|
#include "natpmp.h"
|
||||||
|
|
||||||
#define LIBTRANSMISSION_PORT_FORWARDING_MODULE
|
#define LIBTRANSMISSION_PORT_FORWARDING_MODULE
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user