Skip to content

Commit

Permalink
Merge pull request #8 from aliyun/dev-1903
Browse files Browse the repository at this point in the history
Dev 1903
  • Loading branch information
huiguangjun authored Mar 31, 2019
2 parents f7ef0ef + 1e44d43 commit df9b598
Show file tree
Hide file tree
Showing 58 changed files with 15,006 additions and 12,228 deletions.
10 changes: 7 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,18 @@ add_definitions(-DPLATFORM_${TARGET_OS})

#Find dependency Library, curl, openssl
if (${TARGET_OS} STREQUAL "WINDOWS")
set(WLIB_TARGET "Win32")
if (CMAKE_CL_64)
set(WLIB_TARGET "x64")
endif()
set(CRYPTO_LIBS
${CMAKE_SOURCE_DIR}/third_party/lib/Win32/ssleay32.lib
${CMAKE_SOURCE_DIR}/third_party/lib/Win32/libeay32.lib)
${CMAKE_SOURCE_DIR}/third_party/lib/${WLIB_TARGET}/ssleay32.lib
${CMAKE_SOURCE_DIR}/third_party/lib/${WLIB_TARGET}/libeay32.lib)
set(CRYPTO_INCLUDE_DIRS
${CMAKE_SOURCE_DIR}/third_party/include)

set(CLIENT_LIBS
${CMAKE_SOURCE_DIR}/third_party/lib/Win32/libcurl.lib)
${CMAKE_SOURCE_DIR}/third_party/lib/${WLIB_TARGET}/libcurl.lib)
set(CLIENT_INCLUDE_DIRS
${CMAKE_SOURCE_DIR}/third_party/include)
else()
Expand Down
Loading

0 comments on commit df9b598

Please sign in to comment.