]> 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>
Tue, 5 Apr 2016 10:31:13 +0000 (13:31 +0300)
src/Plugins/JSONReader/ParaViewPlugin/CMakeLists.txt

index f839ccea3635f95ac9964c29a99ce2c2e23ec8ba..e0ad25213931a9787c027260d730e629ad49099d 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
 )