Try to define JSON_DLL for both system and internal jsoncpp.
I am encountering a linking error about undefined symbols when building ParaView on Windows with VTK_USE_SYSTEM_JSONCPP=ON
. This error goes away and the build finishes if JSON_DLL
is defined.
This merge request changes the Windows declspec import logic so it doesn't depend on whether VTK_USE_SYSTEM_JSONCPP
is ON or OFF.