Remove duplicated libz for ios/tvos (#1455)

This commit is contained in:
Deal 2023-11-26 23:13:29 +08:00 committed by GitHub
parent 82d88d8970
commit 69b55efb82
1 changed files with 0 additions and 9 deletions

View File

@ -59,7 +59,6 @@ macro(ax_depend)
find_library(APPLICATIONSERVICES_LIBRARY ApplicationServices) find_library(APPLICATIONSERVICES_LIBRARY ApplicationServices)
find_library(IOKIT_LIBRARY IOKit) find_library(IOKIT_LIBRARY IOKit)
find_library(APPKIT_LIBRARY AppKit) find_library(APPKIT_LIBRARY AppKit)
#find_library(ICONV_LIBRARY iconv)
find_library(AUDIOUNIT_LIBRARY AudioUnit) find_library(AUDIOUNIT_LIBRARY AudioUnit)
find_library(COREAUDIO_LIBRARY CoreAudio) find_library(COREAUDIO_LIBRARY CoreAudio)
find_library(SYSTEMCONFIGURATION_LIBRARY SystemConfiguration) find_library(SYSTEMCONFIGURATION_LIBRARY SystemConfiguration)
@ -70,7 +69,6 @@ macro(ax_depend)
${IOKIT_LIBRARY} ${IOKIT_LIBRARY}
${_AX_APPLE_LIBS} ${_AX_APPLE_LIBS}
${APPKIT_LIBRARY} ${APPKIT_LIBRARY}
#${ICONV_LIBRARY}
${AUDIOUNIT_LIBRARY} ${AUDIOUNIT_LIBRARY}
${COREAUDIO_LIBRARY} ${COREAUDIO_LIBRARY}
${SYSTEMCONFIGURATION_LIBRARY} ${SYSTEMCONFIGURATION_LIBRARY}
@ -80,13 +78,9 @@ macro(ax_depend)
find_library(UIKIT_LIBRARY UIKit) find_library(UIKIT_LIBRARY UIKit)
find_library(OPENGLES_LIBRARY OpenGLES) find_library(OPENGLES_LIBRARY OpenGLES)
find_library(AVKIT_LIBRARY AVKit) find_library(AVKIT_LIBRARY AVKit)
# find_library(CORE_MEDIA_LIBRARY CoreMedia)
find_library(CORE_TEXT_LIBRARY CoreText) find_library(CORE_TEXT_LIBRARY CoreText)
find_library(SECURITY_LIBRARY Security) find_library(SECURITY_LIBRARY Security)
find_library(CORE_GRAPHICS_LIBRARY CoreGraphics) find_library(CORE_GRAPHICS_LIBRARY CoreGraphics)
# find_library(AV_FOUNDATION_LIBRARY AVFoundation)
find_library(ZLIB z)
#find_library(ICONVLIB iconv)
if(NOT TVOS) if(NOT TVOS)
find_library(CORE_MOTION_LIBRARY CoreMotion) find_library(CORE_MOTION_LIBRARY CoreMotion)
@ -97,14 +91,11 @@ macro(ax_depend)
${UIKIT_LIBRARY} ${UIKIT_LIBRARY}
${OPENGLES_LIBRARY} ${OPENGLES_LIBRARY}
${AVKIT_LIBRARY} ${AVKIT_LIBRARY}
${CORE_MEDIA_LIBRARY}
${CORE_TEXT_LIBRARY} ${CORE_TEXT_LIBRARY}
${SECURITY_LIBRARY} ${SECURITY_LIBRARY}
${CORE_GRAPHICS_LIBRARY} ${CORE_GRAPHICS_LIBRARY}
${AV_FOUNDATION_LIBRARY} ${AV_FOUNDATION_LIBRARY}
${_AX_APPLE_LIBS} ${_AX_APPLE_LIBS}
${ZLIB}
#${ICONVLIB}
) )
if(NOT TVOS) if(NOT TVOS)