openssl-cmake icon indicating copy to clipboard operation
openssl-cmake copied to clipboard

Restrict install step to OpenSSL subbuild

Open markusfisch opened this issue 1 year ago • 2 comments

Instead of running install in the top-level build directory (CMAKE_BINARY_DIR), which would install all other modules, too.

This is a problem in builds that have modules that do not need to be installed (and just provide archives for a build).

markusfisch avatar Dec 13 '24 15:12 markusfisch

Is this still relevant? The issue you describe does not seem to be related to the changes in this PR, moreover the build fails with CMake Error: The source directory "/foo/_deps/openssl-subbuild" does not exist when the PR is applied.

roussosalex avatar Aug 04 '25 21:08 roussosalex

Yes, it is! We have two libraries that are built with CMake that require OpenSSL among other libraries. This fix makes it possible to use openssl-cmake in this context. Without it, all other libraries would also try to install their modules.

It's odd that you get an error with this fix 🤔

markusfisch avatar Aug 08 '25 15:08 markusfisch