mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2024-12-26 21:04:23 +08:00
f53a8c98ad
A user of the protobuf-c library is confronted with MSVC warnings about missing PDB if the library happens to be built/configured using the CMAKE_BUILD_TYPE "Debug" or "RelWithDebInfo". This commit deals away with the warning by installing the "protobuf-c.pdb" alongside the lib. The .pdb is installed only if it exists. Configuring "Release" or building under Linux won't produce and won't install the PDB.