mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
curl: Update build within CMake to account for 7.61 changes
The_CURL_STATICLIB option was replaced by BUILD_SHARED_LIBS. Drop our own CURL_STATICLIB compile definition because it is now provided by curl's usage requirements.
This commit is contained in:
parent
b9d1107790
commit
0310024563
@ -410,7 +410,6 @@ macro (CMAKE_BUILD_UTILITIES)
|
||||
set(CURL_SPECIAL_ZLIB_H ${CMAKE_ZLIB_HEADER})
|
||||
set(CURL_SPECIAL_LIBZ_INCLUDES ${CMAKE_ZLIB_INCLUDES})
|
||||
set(CURL_SPECIAL_LIBZ ${CMAKE_ZLIB_LIBRARIES})
|
||||
add_definitions(-DCURL_STATICLIB)
|
||||
set(CMAKE_CURL_INCLUDES)
|
||||
set(CMAKE_CURL_LIBRARIES cmcurl)
|
||||
if(CMAKE_TESTS_CDASH_SERVER)
|
||||
|
@ -2,6 +2,7 @@
|
||||
set(BUILD_CURL_EXE OFF CACHE INTERNAL "No curl exe")
|
||||
set(BUILD_DASHBOARD_REPORTS OFF CACHE INTERNAL "No curl dashboard reports")
|
||||
set(BUILD_RELEASE_DEBUG_DIRS OFF CACHE INTERNAL "No curl release/debug dirs")
|
||||
set(BUILD_SHARED_LIBS OFF CACHE INTERNAL "Build shared libraries")
|
||||
set(CMAKE_USE_GSSAPI OFF CACHE INTERNAL "Disable curl gssapi")
|
||||
set(CMAKE_USE_LIBSSH2 OFF CACHE INTERNAL "Disable curl libssh2")
|
||||
set(CMAKE_USE_OPENLDAP OFF CACHE INTERNAL "No curl OpenLDAP")
|
||||
@ -23,7 +24,6 @@ set(CURL_DISABLE_TELNET ON CACHE INTERNAL "Disable curl telnet protocol?")
|
||||
set(CURL_DISABLE_TFTP ON CACHE INTERNAL "Disable curl tftp protocol?")
|
||||
set(CURL_DISABLE_VERBOSE_STRINGS OFF CACHE INTERNAL "Do not disable curl verbosity")
|
||||
set(CURL_HIDDEN_SYMBOLS OFF CACHE INTERNAL "No curl hidden symbols")
|
||||
set(CURL_STATICLIB ON CACHE INTERNAL "Static curl")
|
||||
set(CURL_WERROR OFF CACHE INTERNAL "Turn compiler warnings into errors")
|
||||
set(DISABLED_THREADSAFE OFF CACHE INTERNAL "Curl can use thread-safe functions")
|
||||
set(ENABLE_ARES OFF CACHE INTERNAL "No curl c-ares support")
|
||||
|
Loading…
Reference in New Issue
Block a user