engine icon indicating copy to clipboard operation
engine copied to clipboard

CMake Error at CMakeLists.txt:360 (add_subdirectory)

Open shinomontaz opened this issue 3 years ago • 1 comments

Found error on build by a guide https://github.com/gost-engine/engine/blob/master/INSTALL.md:

$ cmake -DCMAKE_BUILD_TYPE=Release ..

-- Setting OpenSSL root: /usr/local/ssl -- Found OpenSSL application: /usr/local/ssl/bin/openssl -- LITTLE_ENDIAN -- No Test2::V0 perl module (engine and provider tests skipped) CMake Error at CMakeLists.txt:360 (add_subdirectory): The source directory

/opt/engine/libprov

does not contain a CMakeLists.txt file.

INSTALL TARGETS - target lib_gost_engine has PUBLIC_HEADER files but no PUBLIC_HEADER DESTINATION. -- Configuring incomplete, errors occurred!

Versions:

$ openssl version OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)

$ cmake -version cmake version 3.18.4

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Exported env vars: PKG_CONFIG_PATH=/usr/local/ssl/lib64/pkgconfig/ OPENSSL_ROOT_DIR=/usr/local/ssl

Something forgotten in manual or there is some trick to build? Thanks.

shinomontaz avatar May 06 '22 20:05 shinomontaz

You need to checkout the libprov submodule.

beldmit avatar May 21 '22 20:05 beldmit