From d02c4343e3dcec5b4313182f54168385a8a9d49b 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 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 ) -- 2.39.2