add prebuilt libcurl to linux

This commit is contained in:
andyque 2014-12-31 10:19:03 +08:00
parent 7a8634ff0e
commit 489219ff5e
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ set(_chipmunk_inc_paths chipmunk)
set(_chipmunk_libs chipmunk libchipmunk)
set(_curl_inc curl/curl.h)
set(_curl_libs crypto ssl libeay32 ssleay32 curl libcurl_imp libcurl)
set(_curl_libs libcrypto libssl crypto ssl libeay32 ssleay32 curl libcurl_imp libcurl)
set(_freetype2_prefix FREETYPE)
set(_freetype2_inc ft2build.h freetype/freetype.h)

View File

@ -96,6 +96,7 @@ elseif(LINUX)
foreach(_pkg OPENGL GLEW GLFW3 FMODEX FONTCONFIG THREADS)
cocos_use_pkg(cocos2d ${_pkg})
endforeach()
list(APPEND PLATFORM_SPECIFIC_LIBS ssl crypto)
elseif(MACOSX OR APPLE)
cocos_use_pkg(cocos2d GLFW3)