Skip to content

Commit

Permalink
[Cloud]Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
OFFTKP committed Dec 16, 2023
1 parent 82958a4 commit bde58c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,14 @@ if(NOT EMSCRIPTEN AND NOT ANDROID AND NOT IOS)
set(WITH_APPS OFF) # don't build executable
add_subdirectory(src/openssl)

set(CURL_USE_LIBSSH2 OFF)
set(CURL_USE_LIBPSL OFF)
set(CURL_ENABLE_EXPORT_TARGET OFF)
set(BUILD_TESTING OFF)
set(BUILD_CURL_EXE OFF)
set(BUILD_SHARED_LIBS OFF)
set(BUILD_STATIC_LIBS ON)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DCURL_STATICLIB") # see "Important static libcurl usage note" in INSTALL.md
add_subdirectory(src/curl)
endif()

Expand Down

0 comments on commit bde58c1

Please sign in to comment.