Skip to content

Commit

Permalink
libcurl options set for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei Shuai committed Jan 16, 2019
1 parent 6a3283b commit cc658b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ cmake_minimum_required(VERSION 2.8)
add_subdirectory(../ bin/)

set(CURL_STATICLIB ON CACHE BOOL "libcurl static build" FORCE)
set(BUILD_CURL_EXE false)
set(BUILD_TESTING OFF)
#set(CMAKE_STATIC_LINKER_FLAGS " -fpic")
set(BUILD_CURL_EXE OFF CACHE BOOL "libcurl exe build" FORCE)
set(BUILD_TESTING OFF CACHE BOOL "libcurl test build" FORCE)
IF(WIN32)
set(CMAKE_USE_WINSSL ON CACHE BOOL "libcurl winssl" FORCE)
ENDIF()
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
add_subdirectory(../curl-7.58.0/ curl/)

Expand Down
Binary file removed img/xtdr_clickme.gif
Binary file not shown.

0 comments on commit cc658b4

Please sign in to comment.