From: ana Date: Mon, 15 Feb 2016 08:45:36 +0000 (+0300) Subject: Windows compatibility X-Git-Tag: V7_8_0a2~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d02c4343e3dcec5b4313182f54168385a8a9d49b;p=modules%2Fparavis.git Windows compatibility --- diff --git a/src/Plugins/JSONReader/ParaViewPlugin/CMakeLists.txt b/src/Plugins/JSONReader/ParaViewPlugin/CMakeLists.txt index f839ccea..e0ad2521 100644 --- a/src/Plugins/JSONReader/ParaViewPlugin/CMakeLists.txt +++ b/src/Plugins/JSONReader/ParaViewPlugin/CMakeLists.txt @@ -25,6 +25,12 @@ ADD_PARAVIEW_PLUGIN(JSONReader "1.0" SERVER_MANAGER_SOURCES vtkJSONReader.cxx REQUIRED_ON_SERVER) +TARGET_LINK_LIBRARIES(JSONReader vtkjsoncpp) + +IF(WIN32) + ADD_DEFINITIONS(-DJSON_DLL) +ENDIF() + INSTALL(TARGETS JSONReader DESTINATION lib/paraview )