From af68ad722de88cfd63bd741312aa577f2e5b5efe Mon Sep 17 00:00:00 2001 From: ana Date: Mon, 15 Feb 2016 11:45:36 +0300 Subject: [PATCH] Windows compatibility --- src/Plugins/JSONReader/ParaViewPlugin/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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 ) -- 2.39.2