Commit 4468fb45 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Ben Boeckel
Browse files

vtkFiltersPython: update to the new module system

parent 85d55f77
set(Module_SRCS
vtkPythonAlgorithm.cxx
)
set(classes
vtkPythonAlgorithm)
vtk_module_library(vtkFiltersPython ${Module_SRCS})
vtk_module_add_module(VTK::FiltersPython
CLASSES ${classes})
# Without linking to libPython directly, loading the library from a C++
# binary causes Python symbols to not be resolved since no Python iterpreter
# has been loaded yet.
vtk_module_set_properties(VTK::FiltersPython
INTERFACE_vtk_python_direct_link 1)
if (VTK_WRAP_PYTHON)
vtk_module(vtkFiltersPython
GROUPS
StandAlone
COMPILE_DEPENDS
vtkPython
OPTIONAL_PYTHON_LINK
EXCLUDE_FROM_JAVA_WRAPPING
TEST_DEPENDS
vtkTestingCore
KIT
vtkWrapping
DEPENDS
vtkCommonExecutionModel
PRIVATE_DEPENDS
vtkCommonCore
vtkWrappingPythonCore
)
endif ()
NAME
VTK::FiltersPython
LIBRARY_NAME
vtkFiltersPython
CONDITION
VTK_WRAP_PYTHON
GROUPS
StandAlone
DEPENDS
VTK::CommonExecutionModel
PRIVATE_DEPENDS
VTK::CommonCore
VTK::WrappingPythonCore
TEST_DEPENDS
VTK::TestingCore
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment