openssl: fix cmake files generation#477258
openssl: fix cmake files generation#477258marcin-serwin wants to merge 1 commit intoNixOS:stagingfrom
Conversation
This was added with initial implemention of multiple outputs: <NixOS#7701>. Problems with the generated pkg-config modules should be addressed at the package level through correct configuration. The current approach hides problems that resurface later (e.g., incorrectly generated cmake config files in <NixOS#477258>) and is sometimes not enough requiring further patching (e.g., see the removed `postFixup` in <NixOS#477412>). Signed-off-by: Marcin Serwin <marcin@serwin.dev>
|
Did you actually test this? I looked at the generated cmake files, and they still do not differentiate between multiple outputs for headers and binary libraries. |
|
Do you have a publicly available package, where you want to use cmake, that I can test against? |
What do you mean? When I build it I see: set(OPENSSL_LIBRARY_DIR "${_ossl_prefix}/lib")
set(OPENSSL_INCLUDE_DIR "${_ossl_prefix}/../gz0bnj84p0vv8njnb624yhdwqq0ay2bd-openssl-3.6.0-dev/include")so they seem to be differentiated.
|
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.