mirror of https://github.com/oxen-io/lokinet
Default cmake BUILD_SHARED_LIBS to OFF
By not having BUILD_SHARED_LIBS as a defaulted option, if it was not set in the invocation of cmake then any submodule could come along and set it instead by declaring it as an option. If/when this happens in the middle of the cmake process, some modules will have the flag unset and others will have it as the default that the submodule set, leading to inconsistent compilation parameters at best, but likely linking failure.pull/2214/head
parent
db01c7c4ce
commit
edd3534425
Loading…
Reference in New Issue