b5eb666341
This shaves off a 100MiB+ `boost.dev` dependence from `folly.out`, which would benefit all downstream packages that dynamically link to folly. Upstream's cmake configuration is not suitable for split packages, and some tweaks are applied for it to work; these are taken from: - https://github.com/NixOS/nixpkgs/commit/04384d56cf6d88bf6fd5fd74b0a39b312b104d42 - https://github.com/NixOS/nixpkgs/commit/8d712ccc161b11323e92e87e7057e461462d50e0 See: https://github.com/jtojnar/cmake-snips