Open pfeatherstone opened 2 months ago
CMakelists builds the shared library by default. The static library can be built with the target datachannel-static
, however only the shared library can be installed.
Cheers. It is possible to amend the script to allow for installing the static library along with it dependencies ?
Had the same issue, maybe just remove the static vs dynamic stuff and only provide a single library called LibDataChannel, then it is up to the one who compiles the library to specify if it should be built as static or dynamic. Consumers of the library can then simply link against LibDataChannel::LibDataChannel without having to worry about how it is compiled.
I'm building and installing this library using the following commands:
I was expecting it to build the static library
libdatachannel-static.a
by default and installing it along with its dependencies:libjuice-static.a
libsrtp2.a
libusrsctp.a
That doesn't seem to be the case. Is this possible?