mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
build: remove unused function checks (#3233)
* build: remove unused -DHAVE_ASPRINTF from xcode build * build: remove unused -DHAVE_ZLIB from cmake and xcode we use libdeflate instead * build: remove unused -DHAVE_LIBGEN from xcode
This commit is contained in:
parent
0df6c23c7b
commit
12592e20d6
2 changed files with 0 additions and 15 deletions
|
@ -126,7 +126,6 @@ set(LIBAPPINDICATOR_MINIMUM 0.4.90)
|
|||
set(OPENSSL_MINIMUM 0.9.7)
|
||||
set(POLARSSL_MINIMUM 1.2)
|
||||
set(QT_MINIMUM 5.6)
|
||||
set(ZLIB_MINIMUM 1.2.3)
|
||||
|
||||
if(WIN32)
|
||||
foreach(L C CXX)
|
||||
|
@ -325,11 +324,6 @@ if(ENABLE_MAC)
|
|||
tr_fixup_auto_option(ENABLE_MAC MAC_FOUND MAC_IS_REQUIRED)
|
||||
endif()
|
||||
|
||||
find_package(ZLIB ${ZLIB_MINIMUM})
|
||||
if(ZLIB_FOUND)
|
||||
add_definitions(-DHAVE_ZLIB)
|
||||
endif()
|
||||
|
||||
set(THIRD_PARTY_DIR ${CMAKE_SOURCE_DIR}/third-party)
|
||||
|
||||
tr_add_external_auto_library(DEFLATE libdeflate deflate)
|
||||
|
|
|
@ -3616,9 +3616,6 @@
|
|||
"-D__TRANSMISSION__",
|
||||
"-DHAVE_FLOCK",
|
||||
"-DHAVE_STRLCPY",
|
||||
"-DHAVE_ASPRINTF",
|
||||
"-DHAVE_LIBGEN",
|
||||
"-DHAVE_ZLIB",
|
||||
"-DHAVE_ICONV",
|
||||
);
|
||||
OTHER_CPLUSPLUSFLAGS = "$(OTHER_CFLAGS)";
|
||||
|
@ -3831,9 +3828,6 @@
|
|||
"-D__TRANSMISSION__",
|
||||
"-DHAVE_FLOCK",
|
||||
"-DHAVE_STRLCPY",
|
||||
"-DHAVE_ASPRINTF",
|
||||
"-DHAVE_LIBGEN",
|
||||
"-DHAVE_ZLIB",
|
||||
"-DHAVE_ICONV",
|
||||
);
|
||||
OTHER_CPLUSPLUSFLAGS = "$(OTHER_CFLAGS)";
|
||||
|
@ -4118,9 +4112,6 @@
|
|||
"-D__TRANSMISSION__",
|
||||
"-DHAVE_FLOCK",
|
||||
"-DHAVE_STRLCPY",
|
||||
"-DHAVE_ASPRINTF",
|
||||
"-DHAVE_LIBGEN",
|
||||
"-DHAVE_ZLIB",
|
||||
"-DHAVE_ICONV",
|
||||
);
|
||||
OTHER_CPLUSPLUSFLAGS = "$(OTHER_CFLAGS)";
|
||||
|
|
Loading…
Reference in a new issue