Natanael Copa on Nostr: Now I'm fighting circular deps. cmake -> nghttp2 -> c-ares -> gtest -> cmake. How do ...
Now I'm fighting circular deps.
cmake -> nghttp2 -> c-ares -> gtest -> cmake.
How do solve that kind of circular deps? easy! You vendor! cmake has vendored nghttp2. Problem solved.
But what do you do if the dependency you need is already vendoring you?
You vendor them back!
..and you end up like this:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/angle/third_party/dawn/third_party/angle/third_party/dawn/third_party/angle/third_party/dawn/third_party/angle/
cmake -> nghttp2 -> c-ares -> gtest -> cmake.
How do solve that kind of circular deps? easy! You vendor! cmake has vendored nghttp2. Problem solved.
But what do you do if the dependency you need is already vendoring you?
You vendor them back!
..and you end up like this:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/angle/third_party/dawn/third_party/angle/third_party/dawn/third_party/angle/third_party/dawn/third_party/angle/