Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake Error at CMakeLists.txt:360 (add_subdirectory) #396

Open
shinomontaz opened this issue May 6, 2022 · 1 comment
Open

CMake Error at CMakeLists.txt:360 (add_subdirectory) #396

shinomontaz opened this issue May 6, 2022 · 1 comment

Comments

@shinomontaz
Copy link

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.

@beldmit
Copy link
Contributor

beldmit commented May 21, 2022

You need to checkout the libprov submodule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants