We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c78c58e commit 6d14112Copy full SHA for 6d14112
cmake/Modules/CocosConfigDepend.cmake
@@ -69,6 +69,8 @@ macro(cocos2dx_depend)
69
find_library(CORE_GRAPHICS_LIBRARY CoreGraphics)
70
find_library(AV_FOUNDATION_LIBRARY AVFoundation)
71
find_library(WEBKIT_LIBRARY WebKit)
72
+ find_library(ZLIB_LIBRARY z)
73
+ find_library(ICONV_LIBRARY iconv)
74
list(APPEND PLATFORM_SPECIFIC_LIBS
75
${UIKIT_LIBRARY}
76
${OPENGLES_LIBRARY}
@@ -81,8 +83,8 @@ macro(cocos2dx_depend)
81
83
${AV_FOUNDATION_LIBRARY}
82
84
${WEBKIT_LIBRARY}
85
${COCOS_APPLE_LIBS}
- "/usr/lib/libz.dylib"
- "/usr/lib/libiconv.dylib"
86
+ ${ZLIB_LIBRARY}
87
+ ${ICONV_LIBRARY}
88
)
89
endif()
90
0 commit comments