From 1cfce33fa626a48e5a0bac41f491785ff6e4eea0 Mon Sep 17 00:00:00 2001 From: Egor Pugin Date: Thu, 3 Aug 2023 00:12:59 +0300 Subject: [PATCH] Update README.html Add a section how to link static deps into leptonica dll with cmake. --- README.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.html b/README.html index dbdd3e6cd..21ddcec49 100644 --- a/README.html +++ b/README.html @@ -302,6 +302,9 @@

* To make a static library: cmake .. -DBUILD_SHARED_LIBS=OFF make + * To make a dynamic library (default) and STATIC (or builtin) dependencies: + cmake .. -DSW_BUILD_SHARED_LIBS=0 + make * To build with debug: cmake .. -DCMAKE_BUILD_TYPE=Debug make