From 24158c4ed0324010bb89aea3ceffe93ee7948745 Mon Sep 17 00:00:00 2001 From: Yingchun Lai Date: Tue, 21 May 2024 19:57:07 +0800 Subject: [PATCH] fix: Fix build failure on ARM architecture chips --- thirdparty/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt index 26a8ae0893..07e908c9af 100644 --- a/thirdparty/CMakeLists.txt +++ b/thirdparty/CMakeLists.txt @@ -234,6 +234,7 @@ ExternalProject_Add(fmt ) set(CURL_OPTIONS + --enable-shared --disable-dict --disable-file --disable-ftp @@ -245,11 +246,12 @@ set(CURL_OPTIONS --disable-manual --disable-pop3 --disable-rtsp - --disable-shared --disable-smtp --disable-telnet --disable-tftp + --without-brotli --without-libidn + --without-libidn2 --without-librtmp --without-libssh2 --without-ssl @@ -261,8 +263,6 @@ if (APPLE) set(CURL_OPTIONS ${CURL_OPTIONS} --without-nghttp2 - --without-libidn2 - --without-brotli ) endif () ExternalProject_Add(curl