mirror of
https://github.com/etlegacy/etlegacy-libs.git
synced 2025-04-09 16:05:00 +00:00
build: fixed the mingw build issue with curl
This commit is contained in:
parent
9b0834c733
commit
59e4154cf1
1 changed files with 3 additions and 0 deletions
|
@ -357,6 +357,9 @@ if(BUNDLED_CURL AND (BUILD_CLIENT OR BUILD_SERVER))
|
|||
|
||||
add_dependencies(bundled_curl_int bundled_curl)
|
||||
target_link_libraries(bundled_curl_int INTERFACE ${CURL_BUNDLED_LIBRARIES})
|
||||
if(MINGW) # Mingw requires the bcrypt library
|
||||
target_link_libraries(bundled_curl_int INTERFACE bcrypt)
|
||||
endif()
|
||||
target_include_directories(bundled_curl_int INTERFACE "${LIBS_BINARY_DIR}/curl/include")
|
||||
elseif (UNIX)
|
||||
# FIXME: add openssl lib to project
|
||||
|
|
Loading…
Reference in a new issue