]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Windows compatibility
authorana <ana@opencascade.com>
Mon, 15 Feb 2016 08:45:36 +0000 (11:45 +0300)
committervsr <vsr@opencascade.com>
Fri, 19 Feb 2016 14:35:24 +0000 (17:35 +0300)
src/Plugins/JSONReader/ParaViewPlugin/CMakeLists.txt

index eac829fae9f09ba0d42a3996e1e12a750f8b7338..0b80f20832ae826b3fee50ec41a5fd6456e1783d 100644 (file)
@@ -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
 )