Debug looking for DLLs with -gd suffix

I developed an application based on VTK 8.2. I compiled vtk from source in Debug and Release mode.

When I run my application in debug mode it complains about not finding VTK Dll vtkChartsCore-8.2-gd.dll
I compiled VTK and files do not and are not supposed to have -gd suffix. Where is this -gd coming from? What is it that I have done wrong ?

Details:
Windows 10
Visual studio 2019
VTK 8.2
CMake 3.17

For those facing the same issue in the future.
The problem is not VTK. It is PCL which was complaining, when in debug mode PCL search for vtk dlls with -gd suffix.