PROTOBUF_USE_DLLS defined in static build due to CMake module
So after successfully integrating paraview into vcpkg using the x64-windows triplet (#19515) and external VTK I want to fix the x64-windows-static triplet where everything is build statically.
The problem I encounter is that PROTOBUF_USE_DLLS
is defined. Since the only dependency on protobuf is ParaView itself I was wondering where this definition comes from.
After investigating I found out that CMakes FindProtobuf is doing it... so maybe protobuf should be switched over to CONFIG_MODE?