Conflicts:
src/Plugins/SimpleMode/IO/CMakeLists.txt
MESSAGE(FATAL_ERROR "Please locate ParaView." )
ENDIF(NOT ParaView_FOUND)
INCLUDE(${PARAVIEW_USE_FILE})
-PV_SETUP_MODULE_ENVIRONMENT("vtkSimpleMode")
OPTION(BUILD_SHARED_LIBS "Build with shared libraries." ${VTK_BUILD_SHARED_LIBS})
+++ /dev/null
-SET(VTK_LIBS vtkCommonExecutionModel vtkParallelCore)
-VTK_MODULE(vtkSimpleMode DEPENDS ${VTK_LIBS})
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR}/../IO )
ADD_PARAVIEW_PLUGIN(SimpleModePlugin "4.0"
- SERVER_MANAGER_SOURCES ${SM_SRCS}
- SERVER_MANAGER_XML Resources/SimpleModeServer.xml
- CS_KITS
- vtkSimpleMode)
-TARGET_LINK_LIBRARIES(SimpleModePlugin vtkSimpleMode vtkSimpleModeCS)
+ SERVER_MANAGER_SOURCES ${SM_SRCS} ${PROJECT_SOURCE_DIR}/IO/vtkSimpleMode.cxx
+ SERVER_MANAGER_XML Resources/SimpleModeServer.xml)
INSTALL(TARGETS SimpleModePlugin RUNTIME DESTINATION lib/paraview LIBRARY DESTINATION lib/paraview ARCHIVE DESTINATION lib/paraview)