From ca1799fa6888310184dfde429feb285e642f3ac6 Mon Sep 17 00:00:00 2001 From: John Colvin Date: Sat, 24 May 2025 04:59:08 +0000 Subject: [PATCH] build: Link against system installed ssl to support py interop Unless we want to build python packages ourselves, the underlying clibs they use link to the system installed ssl. Notably, the requests module. --- src/lib_spark/cmake/GetLinuxServerLinkLibraries.cmake | 6 ++---- vcpkg.json | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/lib_spark/cmake/GetLinuxServerLinkLibraries.cmake b/src/lib_spark/cmake/GetLinuxServerLinkLibraries.cmake index 81a432d30..8e494e915 100644 --- a/src/lib_spark/cmake/GetLinuxServerLinkLibraries.cmake +++ b/src/lib_spark/cmake/GetLinuxServerLinkLibraries.cmake @@ -1,7 +1,6 @@ function(get_link_libraries dest) find_package(fmt CONFIG REQUIRED) find_package(nlohmann_json CONFIG REQUIRED) - find_package(OpenSSL REQUIRED) find_package(Catch2 CONFIG REQUIRED) set(${dest} protobuf @@ -18,11 +17,10 @@ function(get_link_libraries dest) sqlite3 curl uuid - ssl fmt::fmt-header-only nlohmann_json::nlohmann_json - OpenSSL::SSL - OpenSSL::Crypto + ssl + crypto tbb cryptopp pugixml diff --git a/vcpkg.json b/vcpkg.json index e1bc528f8..f898e0137 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -2,7 +2,6 @@ "dependencies": [ "fmt", "catch2", - "openssl", "nlohmann-json" ], "builtin-baseline": "bb002e69deb36c00e9ce21810f69eff349a833f7",