From 991ea9ee6a43b5f5588804e21c03c51c08225537 Mon Sep 17 00:00:00 2001 From: offtkp Date: Thu, 28 Dec 2023 18:27:55 +0200 Subject: [PATCH] Reduce shared dependencies --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6926bf528..9323ba54b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -101,10 +101,12 @@ if (SE_PLATFORM_LINUX OR SE_PLATFORM_FREEBSD) endif() if(NOT EMSCRIPTEN) - set(WITH_APPS OFF) # don't build executable + set(WITH_APPS OFF CACHE BOOL "" FORCE) # don't build executable set(CURL_USE_LIBSSH2 OFF) set(CURL_USE_LIBPSL OFF) set(CURL_USE_OPENSSL ON) + set(CURL_DISABLE_LDAP ON) + set(USE_LIBIDN2 OFF) set(CURL_ENABLE_EXPORT_TARGET OFF) set(BUILD_TESTING OFF) set(BUILD_CURL_EXE OFF)