following situation:

I'm building a static lib inside a seperate MSVC solution. It also doeas create an .pdb file with debugging symbols.

I have another MSVC solution in which I want to include the .lib (and the .pdb) build above.

Problem: The (absolute) path to the .pdb seems to be hardcoded into the .lib. As soon as I clean the solution which built the .lib, I get warnings (no .pdb found) while linking the other solution (and of course I can't debug into the code inside the static lib)

Question: Is there a way to setup the solution which builds the .lib to save the path to the .pdb as a relative one, so I'm able to copy the .pdb to a known location an debug other solutions which includes the .lib?

Thank you!