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

Windows CMake 3.10 or newer: Building with POCO_DISABLE_INTERNAL_OPENSSL=OFF does not work #4388

Closed
matejk opened this issue Jan 8, 2024 · 1 comment · Fixed by #4685
Closed
Assignees
Labels
bug cmake Related to cmake build system third-party

Comments

@matejk
Copy link
Contributor

matejk commented Jan 8, 2024

Describe the bug

Configuring Poco using internal OpenSSL with recent version of CMake fails with an error that the OpenSSL is not found.

To Reproduce

Configure submodule to poco/openssl ([email protected]:pocoproject/openssl.git).

cmake -G "Visual Studio 16 2019" -A x64 POCO_DISABLE_INTERNAL_OPENSSL=OFF -DENABLE_CRYPTO ../poco

Expected behavior

CMake configuration is successful, Poco::Crypto builds successfully.

Please add relevant environment information:

  • OS Type and Version: Windows 11, Visual Studio 2019, CMake 3.27
  • POCO Version: Poco 1.13.0

Additional context

Building with external OpenSSL (for example from https://www.firedaemon.com/get-openssl) and setting OPENSSL_ROOT_DIR to its directory works with CMake.

@matejk matejk added the bug label Jan 8, 2024
@matejk
Copy link
Contributor Author

matejk commented Jan 8, 2024

Shall internal OpenSSL be removed from CMake or corrected?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cmake Related to cmake build system third-party
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant