From: Dmitry Belyavskiy Date: Wed, 2 Jun 2021 15:16:12 +0000 (+0200) Subject: CMake 3.18 recommended X-Git-Tag: v3.0.0~17 X-Git-Url: http://www.wagner.pp.ru/gitweb/?p=openssl-gost%2Fengine.git;a=commitdiff_plain;h=c76c85b551d94256a59281c39e32ca64a9de07eb CMake 3.18 recommended More earlier versions don't properly detect OpenSSL 3.0. BTW, workarounds still exist --- 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: