cmake build refactor
All checks were successful
BlockStorage/repertory_osx/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory_osx/pipeline/head This commit looks good
This commit is contained in:
@@ -31,14 +31,20 @@ set(CURL_CMAKE_ARGS
|
||||
-DUSE_LIBIDN2=OFF
|
||||
)
|
||||
|
||||
if (MINGW AND CMAKE_TOOLCHAIN_FILE)
|
||||
if (CMAKE_TOOLCHAIN_FILE)
|
||||
set(CURL_CMAKE_ARGS
|
||||
${CURL_CMAKE_ARGS}
|
||||
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
|
||||
)
|
||||
endif()
|
||||
|
||||
if (MINGW)
|
||||
set(CURL_CMAKE_ARGS
|
||||
${CURL_CMAKE_ARGS}
|
||||
-DCURL_USE_OPENSSL=OFF
|
||||
-DUSE_WIN32_CRYPTO=ON
|
||||
)
|
||||
elseif(NOT MINGW)
|
||||
else()
|
||||
set(CURL_CMAKE_ARGS
|
||||
${CURL_CMAKE_ARGS}
|
||||
-DCURL_USE_OPENSSL=ON
|
||||
|
Reference in New Issue
Block a user