mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
cmake: Fix curl build for Windows
This commit is contained in:
parent
a917d247ed
commit
803ea7b143
6
Externals/curl/lib/CMakeLists.txt
vendored
6
Externals/curl/lib/CMakeLists.txt
vendored
@ -1,6 +1,7 @@
|
|||||||
set(LIB_NAME libcurl)
|
if(NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
|
||||||
|
add_definitions(-DHAVE_CONFIG_H)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_definitions(-DHAVE_CONFIG_H)
|
|
||||||
include_directories(.)
|
include_directories(.)
|
||||||
|
|
||||||
file(GLOB SRCS *.c vauth/*.c vtls/*.c)
|
file(GLOB SRCS *.c vauth/*.c vtls/*.c)
|
||||||
@ -11,3 +12,4 @@ add_library(
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(curl ${MBEDTLS_LIBRARIES})
|
target_link_libraries(curl ${MBEDTLS_LIBRARIES})
|
||||||
|
target_compile_definitions(curl PUBLIC CURL_STATICLIB PRIVATE CURL_DISABLE_LDAP)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user