From a0e998afb3f821ba5c0a75c3ca9bca2ad7d6b5ec Mon Sep 17 00:00:00 2001 From: Tyler Wilding Date: Thu, 2 Nov 2023 19:57:34 -0400 Subject: [PATCH] ci: properly statically link on macOS (#3127) --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b3d288520..a13e6c092 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,8 +18,10 @@ option(STATICALLY_LINK "Build for release purposes (statically link everything)" message(STATUS "Statically Link? ${STATICALLY_LINK}") if(STATICALLY_LINK) set(BUILD_SHARED_LIBS OFF) + set(BUILD_STATIC_LIBS ON) else() set(BUILD_SHARED_LIBS ON) + set(BUILD_STATIC_LIBS OFF) endif() # For clangd @@ -184,8 +186,10 @@ include_directories(./) include_directories(SYSTEM third-party/inja) # libcurl for HTTP requests - # Enable SSL Support, most URLs now-a-days use SSL! +# TODO - probably integrate with ZSTD since we have it already +set(CURL_USE_LIBSSH2 OFF) +set(CURL_ZLIB OFF) if(WIN32) set(CURL_USE_SCHANNEL ON) # native Windows SSL support elseif(APPLE)