Skip to content

Commit

Permalink
Enable ssl in curl
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasVautherin committed Nov 28, 2024
1 parent 5a124d9 commit 4bb350a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion third_party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,20 @@ if(SUPERBUILD)
build_target(liblzma)

if(NOT BUILD_WITHOUT_CURL)
build_target(openssl)

if(NOT IOS)
build_target(zlib-ng)
endif()

build_target(curl)
endif()

if(BUILD_MAVSDK_SERVER)
build_target(openssl)
if (BUILD_WITHOUT_CURL)
build_target(openssl)
endif()

build_target(cares)
build_target(absl)
build_target(protobuf)
Expand Down
2 changes: 1 addition & 1 deletion third_party/curl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ list(APPEND CMAKE_ARGS
"-DCMAKE_TOOLCHAIN_FILE:PATH=${CMAKE_TOOLCHAIN_FILE}"
"-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
"-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}"
"-DCURL_USE_OPENSSL=OFF"
"-DCURL_USE_OPENSSL=ON"
"-DCURL_USE_LIBSSH2=OFF"
"-DBUILD_SHARED_LIBS=OFF"
"-DCURL_CA_PATH_SET=OFF"
Expand Down

0 comments on commit 4bb350a

Please sign in to comment.