You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I have the same problem. Our software uses libcurl by just copying its headers and library files into our source tree and referencing said copies. For a side project I installed cpr trough vcpkg which also brought along libcurl. If I integrate vcpkg user-wide the main software fails to link because now it's able to find 2 copies of libcurl and can't decide which one to link. Modifying it is not an option. I'd like to integrate vcpkg for a single solution/project.
The text was updated successfully, but these errors were encountered:
See if vcpkg integrate project can do what you need.
->vcpkg help integrate
Synopsis: Integrates vcpkg with machines, projects, or shells
Examples:
vcpkg integrate install
Makes installed packages available user-wide. Requires admin privileges on
first use
vcpkg integrate remove Removes user-wide integration
vcpkg integrate project
Generates a referencing NuGet package for individual Visual Studio project
use. Windows-only
According to the documentation NuGet isn't recommended. Admittedly, it is going to be Windows-only anyway but I think there should be an easy cross-platform way to integrate into a project just like vcpkg integrate install does user-wide.
Originally posted by @JackBoosY in #18868 (comment)
I think I have the same problem. Our software uses libcurl by just copying its headers and library files into our source tree and referencing said copies. For a side project I installed cpr trough vcpkg which also brought along libcurl. If I integrate vcpkg user-wide the main software fails to link because now it's able to find 2 copies of libcurl and can't decide which one to link. Modifying it is not an option. I'd like to integrate vcpkg for a single solution/project.
The text was updated successfully, but these errors were encountered: