dolphin/Externals/curl/lib/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
423 B
CMake
Raw Normal View History

if(CMAKE_SYSTEM_NAME MATCHES "Windows")
add_definitions(-DUSE_SCHANNEL -DUSE_WINDOWS_SSPI)
else()
add_definitions(-DHAVE_CONFIG_H)
2017-01-24 03:02:39 +00:00
endif()
2016-06-17 00:28:34 +00:00
include_directories(.)
file(GLOB SRCS *.c vauth/*.c vtls/*.c)
add_library(
curl
STATIC
${SRCS}
)
dolphin_disable_warnings_msvc(curl)
2016-06-17 00:28:34 +00:00
target_link_libraries(curl ${MBEDTLS_LIBRARIES} z)
2017-01-24 03:02:39 +00:00
target_compile_definitions(curl PUBLIC CURL_STATICLIB PRIVATE CURL_DISABLE_LDAP)