Replies: 1 comment 4 replies
-
I guess switching the order would be fine, but I don’t think it’s a good idea to mix dependency strategies. Probably best to do everything through vcpkg or everything through FetchContent… |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a project that uses Vcpkg for all of its dependencies. I want to add a new dependency to another project of mine via FetchContent. Currently, because cmkr does all of its
FetchContent_MakeAvailable
calls prior to bootstraping Vcpkg, my new dependency added via FetchContent breaks because it cannot find one of the libraries it depends on (which is available through Vcpkg).This is fixed if bootstrapping Vcpkg happens prior to any
FetchContent_MakeAvailable
calls. I'm not super familiar with FetchContent and bootstrapping Vcpkg in general though so maybe I'm missing something here and there is a better way for me to do this.Any thoughts on this? If bootstrapping Vcpkg prior to any FetchContent packages is the right way to go I would be happy to implement this and open a PR.
Beta Was this translation helpful? Give feedback.
All reactions