build fixes
All checks were successful
BlockStorage/repertory_osx_builds/pipeline/head This commit looks good
BlockStorage/repertory_linux_builds/pipeline/head This commit looks good

This commit is contained in:
2023-11-30 10:40:29 -06:00
parent 6ba4c0091b
commit 629725e262
5 changed files with 20 additions and 11 deletions

View File

@@ -38,10 +38,18 @@ if (CMAKE_TOOLCHAIN_FILE)
)
endif()
set(CURL_CMAKE_ARGS
${CURL_CMAKE_ARGS}
-DCURL_USE_OPENSSL=ON
)
if (MINGW)
set(CURL_CMAKE_ARGS
${CURL_CMAKE_ARGS}
-DCURL_USE_OPENSSL=OFF
-DUSE_WIN32_CRYPTO=ON
)
else()
set(CURL_CMAKE_ARGS
${CURL_CMAKE_ARGS}
-DCURL_USE_OPENSSL=ON
)
endif()
ExternalProject_Add(curl_project
DOWNLOAD_NO_PROGRESS 1