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

CMakeList.txt typos for ssl #536

Open
lilltiger opened this issue Nov 22, 2022 · 0 comments
Open

CMakeList.txt typos for ssl #536

lilltiger opened this issue Nov 22, 2022 · 0 comments

Comments

@lilltiger
Copy link

In the current master branch (4.8) there are typos in the CMakeList.txt:

cmake -DBUILD_SSL=YES ..

CMake Error at cmake/Findopenssl.cmake:22 (message):
  Failed to locate OpenSSL dependency.  see restbed/dependency/openssl
Call Stack (most recent call first):
  CMakeLists.txt:60 (find_package)

Fix:

-- find_package( openssl REQUIRED )
++ find_package( OpenSSL REQUIRED )

When this is fixed there are a few other typos:

cmake -DBUILD_SSL=YES ..


crypto_LIBRARY_STATIC
    linked by target "restbed-static" in directory /srv/rest/restbed

ssl_LIBRARY_STATIC
    linked by target "restbed-static" in directory /srv/rest/restbed

Fix (several instances in the file):

-- crypto_LIBRARY_STATIC
++ CRYPTO_LIBRARY_STATIC

-- ssl_LIBRARY_STATIC
++ SSL_LIBRARY_STATIC

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

1 participant