Bootstrap Vcpkg prior to FetchContent#45
Bootstrap Vcpkg prior to FetchContent#45mrexodia merged 1 commit intobuild-cpp:mainfrom cursey:bootstrap-vcpkg-early
Conversation
|
Ahh, I misunderstood your description. I discussed this specific topic with the vcpkg devs and they said it is unsupported to include vcpkg multiple times in the same project. The intended way to work around this is to include all the vcpkg dependencies in the root project. This means the fix is definitely necessary though, now the vcpkg in the root will be the first one and that’s probably what caused issues. |
|
I’ll release a new version in a few hours probably, gotta catch a plane first. Thanks again for your contributions! |
I was super tired when I wrote the description. What I meant was libraries added via FetchContent can |
This change bootstraps Vcpkg prior to any FetchContent. This makes it so you can FetchContent libraries that use Vcpkg for their own dependencies.