diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt index aee6c00ac4..d5b74265c3 100644 --- a/thirdparty/CMakeLists.txt +++ b/thirdparty/CMakeLists.txt @@ -283,16 +283,17 @@ set(CURL_OPTIONS --disable-manual --disable-pop3 --disable-rtsp + --disable-shared --disable-smtp --disable-telnet --disable-tftp - --disable-shared + --without-libidn --without-librtmp - --without-zlib --without-libssh2 --without-ssl - --without-libidn + --without-zlib --without-zstd + --with-gssapi ) if (APPLE) set(CURL_OPTIONS @@ -306,37 +307,7 @@ ExternalProject_Add(curl URL ${OSS_URL_PREFIX}/curl-8.4.0.tar.gz http://curl.haxx.se/download/curl-8.4.0.tar.gz URL_MD5 533e8a3b1228d5945a6a512537bea4c7 - CONFIGURE_COMMAND ./configure - --prefix=${TP_OUTPUT} - --disable-alt-svc - --disable-dict - --disable-doh - --disable-file - --disable-ftp - --disable-gopher - --disable-imap - --disable-ipv6 - --disable-ldap - --disable-ldaps - --disable-libcurl-option - --disable-manual - --disable-mime - --disable-netrc - --disable-parsedate - --disable-pop3 - --disable-progress-meter - --disable-rtsp - --disable-smb - --disable-smtp - --disable-telnet - --disable-tftp - --without-brotli - --without-libidn2 - --without-libpsl - --without-librtmp - --without-libssh2 - --without-nghttp2 - --with-gssapi + CONFIGURE_COMMAND ./configure --prefix=${TP_OUTPUT} ${CURL_OPTIONS} BUILD_IN_SOURCE 1 ) @@ -447,6 +418,7 @@ ExternalProject_Add(abseil https://github.com/abseil/abseil-cpp/archive/refs/tags/20230802.1.zip URL_MD5 5c6193dbc82834f8e762c6a28c9cc615 CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${TP_OUTPUT} + -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DABSL_FIND_GOOGLETEST=OFF -DCMAKE_CXX_STANDARD=14 )