update build system
All checks were successful
BlockStorage/repertory_linux_builds/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory_linux_builds/pipeline/head This commit looks good
This commit is contained in:
@ -11,6 +11,11 @@ if(PROJECT_ENABLE_CURL)
|
||||
link_libraries(
|
||||
CURL::libcurl
|
||||
)
|
||||
|
||||
if (EXISTS ${PROJECT_DIST_DIR}/cacert.pem)
|
||||
file(REMOVE ${PROJECT_DIST_DIR}/cacert.pem)
|
||||
endif()
|
||||
file(DOWNLOAD https://curl.haxx.se/ca/cacert.pem ${PROJECT_DIST_DIR}/cacert.pem)
|
||||
elseif(NOT PROJECT_IS_MINGW OR CMAKE_HOST_WIN32)
|
||||
ExternalProject_Add(curl_project
|
||||
PREFIX external
|
||||
|
Reference in New Issue
Block a user