Is your feature request related to a problem? Please describe.
Up through commit 3b8addd this software could be built in an environment without internet access. Since #70/#72, the kanzi library is downloaded during the build, which fails in such environments.
Describe the solution you'd like
Please add a cmake option that allows to either downloading kanzi or using a system copy of the library.
Describe existing solutions that have this feature
The first one that comes to mind is mumble. It doesn't download libraries during the build, but it does have bundled copies of a few things, with corresponding cmake flags to disable their usage. For example, passing the flag -Dbundled-json=OFF will ignore the bundled json library and attempt to find it on the system instead.
Additional context
I'm packaging drawy for Fedora. Like most distros, the official build system does not allow outbound internet access. If implemented this will drawy stay up to date in Fedora, help other distro package drawy, and overall increase the availability of the application.
Is your feature request related to a problem? Please describe.
Up through commit 3b8addd this software could be built in an environment without internet access. Since #70/#72, the kanzi library is downloaded during the build, which fails in such environments.
Describe the solution you'd like
Please add a cmake option that allows to either downloading kanzi or using a system copy of the library.
Describe existing solutions that have this feature
The first one that comes to mind is mumble. It doesn't download libraries during the build, but it does have bundled copies of a few things, with corresponding cmake flags to disable their usage. For example, passing the flag
-Dbundled-json=OFFwill ignore the bundled json library and attempt to find it on the system instead.Additional context
I'm packaging drawy for Fedora. Like most distros, the official build system does not allow outbound internet access. If implemented this will drawy stay up to date in Fedora, help other distro package drawy, and overall increase the availability of the application.