Skip to content

Try to define JSON_DLL for both system and internal jsoncpp.

Steven Hahn requested to merge quantumsteve/vtk:define_JSON_DLL into master

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.

Merge request reports