X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=INSTALL.md;h=0927f514ed2e25f4ee3a9900a18016ec763c0f48;hb=3df647770ff9aa8bd3b08c6ff8200da1ee69565c;hp=4807ecb1b688d8fa2b8e3d112b9884afb85c3231;hpb=4481800afde8c0d90133926eaecf6c9905316faa;p=openssl-gost%2Fengine.git diff --git a/INSTALL.md b/INSTALL.md index 4807ecb..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: @@ -21,13 +21,17 @@ Instead of `Release` you can use `Debug`, `RelWithDebInfo` or `MinSizeRel` confi See [cmake docs](https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html) for details. You will find built binaries in `../bin` directory. -If you want to build against a specific OpenSSL instance (you will need it -if you have more than one OpenSSL instance for example), you can use -the `cmake` variable `OPENSSL_ROOT_DIR` to specify path of the desirable -OpenSSL instance: +If you want to build against a specific OpenSSL instance (you will need it if +you have more than one OpenSSL instance for example), you can use the `cmake` +variable `OPENSSL_ROOT_DIR` to specify absolute path of the desirable OpenSSL +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: