From 9e20e6c9f46420c88969236fa0cb64b31109d967 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Wed, 8 Nov 2023 14:05:28 +0100 Subject: implemented openssl-free encryption for Windows (#520) trims 40% off the (Windows) executable size --- xmake.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xmake.lua') diff --git a/xmake.lua b/xmake.lua index 9a5dc0ffa..bfcdc5698 100644 --- a/xmake.lua +++ b/xmake.lua @@ -26,7 +26,9 @@ set_policy("build.ccache", false) if is_plat("linux") then add_requires("vcpkg::openssl 3.0.8") -else +elseif is_plat("windows") then + add_defines("ZEN_USE_OPENSSL=0") +else add_requires("vcpkg::openssl") end -- cgit v1.2.3