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

Does it working with CPM? #34

Open
hks2002 opened this issue Dec 31, 2023 · 2 comments
Open

Does it working with CPM? #34

hks2002 opened this issue Dec 31, 2023 · 2 comments

Comments

@hks2002
Copy link

hks2002 commented Dec 31, 2023

In my project, it will stop at the download process.
Is someone have the success use with CPM cpmfindpackage()?

@jmigual
Copy link

jmigual commented Apr 29, 2024

Yes, I have been successful, here's how I import it with CPM:

CPMAddPackage(
  NAME OpenSSL
  GITHUB_REPOSITORY janbar/openssl-cmake
  GIT_TAG 1.1.1w-20231130
  OPTIONS "WITH_APPS OFF"
  EXCLUDE_FROM_ALL YES
  SYSTEM YES
)

@Dargun
Copy link

Dargun commented Sep 16, 2024

if you try to find with find_package(OpenSSL REQUIRED)
you will get this error

Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the [cmake] system variable OPENSSL_ROOT_DIR (missing: OPENSSL_INCLUDE_DIR)

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

3 participants