1

I have a VS solution that contains two projects: A.dll and B.lib. A.dll depends on B.lib and also C.lib which is provided by my vcpkg repository.

The problem is that my vcpkg repository also contains a version of B.lib and the linker will include both the vcpkg B.lib and my local B.lib which leads to multiple defined symbols.

Since I need vcpkg to provide the C.lib dependency, I can't disable it for the project completely. I need the linker to ignore the vcpkg version of B.lib.

adrem42
  • 11
  • 1
  • 2

0 Answers0