vcpkg.targets not imported automatically into MSBuild based port projects during build #891
Labels
category:vcpkg-feature
The issue is a new capability of the tool that doesn’t already exist and we haven’t committed
Playing with guetzli JPEG encoder port (it's exe, so there is another problem to discuss) I have encountered a problem with using already installed vcpkg packages. vcpkg MSBuild implementation did not pick it up unless explicitly asked for doing so with OPTIONS /p:ForceImportBeforeCppTargets=${VCPKG_ROOT_DIR}/scripts/buildsystems/msbuild/vcpkg.targets inside vcpkg_build_msbuild. In my opinion every new package should use installed vcpkg packages by default without the need to explicitly set it during packaging in port file.
The text was updated successfully, but these errors were encountered: