Closed jagerman closed 5 months ago
I think this PR isn't needed anymore (after #83), because that bundling code in #83 just recursively follows target_link_libraries to pull everything in.
I think this PR isn't needed anymore (after #83), because that bundling code in #83 just recursively follows target_link_libraries to pull everything in.
Yep everything that was in here should be in #83
This automatically adds anything that we include via system_or_submodule into the libsession-util bundled library, most notably included libquic (in other upcoming PRs).
It also updates the libsession_static_bundle function so that only static library targets are actually bundled so that passing things like oxenc::oxenc (which is header-only and so not a static lib) just get silently ignored.