From c76c85b551d94256a59281c39e32ca64a9de07eb Mon Sep 17 00:00:00 2001 From: Dmitry Belyavskiy Date: Wed, 2 Jun 2021 17:16:12 +0200 Subject: [PATCH] CMake 3.18 recommended More earlier versions don't properly detect OpenSSL 3.0. BTW, workarounds still exist --- INSTALL.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 027e14e..0927f51 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -8,7 +8,7 @@ To build and install OpenSSL GOST Engine, you will need * OpenSSL 3.0 development version * an ANSI C compiler -* CMake (3.0 or newer) +* CMake (3.0 or newer, 3.18 recommended) Here is a quick build guide: @@ -28,6 +28,10 @@ instance: $ cmake -DOPENSSL_ROOT_DIR=/PATH/TO/OPENSSL/ .. +Building against OpenSSL 3.0 requires openssl detection module +(FindOpenSSL.cmake) from CMake 3.18 or higher. More earlier versions may have +problems with it. + If you use Visual Studio, you can also set `CMAKE_INSTALL_PREFIX` variable to set install path, like this: -- 2.39.2