From: ana Date: Mon, 15 Feb 2016 08:45:36 +0000 (+0300) Subject: Windows compatibility X-Git-Tag: V8_0_0rc2~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=af68ad722de88cfd63bd741312aa577f2e5b5efe;p=modules%2Fparavis.git Windows compatibility --- diff --git a/src/Plugins/JSONReader/ParaViewPlugin/CMakeLists.txt b/src/Plugins/JSONReader/ParaViewPlugin/CMakeLists.txt index eac829fa..0b80f208 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 )