Open outpaddling opened 3 years ago
Hi Jason,
Interesting - we could certainly add support for that, we will consider it for future releases. In the mean time, we would certainly accept a patch to do this?
Thanks,
I can try and find some time to take a crack at it, though I don't know much about cmake programming. I can muddle through someone's existing code, but I've never created a cmake project of my own.
What I imagine as the simplest solution is just checking if STREAMVBYTE_INSTALL_DIR and STREAMVBYTE_STATIC_LIB are set and run the existing code to download and build a bundled lib only if they're empty.
Certainly sounds like a sensible approach to me
Good morning,
Would you consider adding a check or user-controlled option for separately installed streamvbyte as an alternative to the bundled build? This would facilitate creation of vbc_compression packages in various package managers, where using bundled libraries is strongly discouraged:
https://fedoraproject.org/wiki/Bundled_Libraries?rd=Packaging:Bundled_Libraries https://www.debian.org/doc/debian-policy/ch-source.html#s-embeddedfiles https://wiki.gentoo.org/wiki/Why_not_bundle_dependencies https://docs.freebsd.org/en/books/porters-handbook/special/#bundled-libs
It appears that one need only set STREAMVBYTE_INSTALL_DIR and STREAMVBYTE_STATIC_LIB to point to the streamvbyte installation. I was able to build by removing the cmake code for the streamvbyte build and running cmake with the following flags:
Best,