mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-03 08:07:45 +00:00
fix curl build
This commit is contained in:
parent
0d2386b312
commit
c4a8a2e296
1 changed files with 4 additions and 2 deletions
6
Externals/curl/lib/CMakeLists.txt
vendored
6
Externals/curl/lib/CMakeLists.txt
vendored
|
@ -1,5 +1,7 @@
|
|||
if(NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
|
||||
add_definitions(-DHAVE_CONFIG_H)
|
||||
add_definitions(-DHAVE_CONFIG_H)
|
||||
else()
|
||||
add_definitions(-DUSE_SCHANNEL -DUSE_WINDOWS_SSPI)
|
||||
endif()
|
||||
|
||||
include_directories(.)
|
||||
|
@ -9,7 +11,7 @@ add_library(
|
|||
curl
|
||||
STATIC
|
||||
${SRCS}
|
||||
)
|
||||
)
|
||||
|
||||
target_link_libraries(curl ${MBEDTLS_LIBRARIES})
|
||||
target_compile_definitions(curl PUBLIC CURL_STATICLIB PRIVATE CURL_DISABLE_LDAP)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue