Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ben Boeckel
Xdmf
Commits
9b4e652d
Commit
9b4e652d
authored
Apr 26, 2012
by
Chris Harris
Browse files
Rename python libraries to new VTK modular names
parent
47d40f2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
vtk/CMakeLists.txt
View file @
9b4e652d
...
...
@@ -142,11 +142,17 @@ ENDIF(XDMF_BUILD_MPI)
INCLUDE
(
${
VTK_CMAKE_DIR
}
/vtkWrapPython.cmake OPTIONAL
)
VTK_WRAP_PYTHON2
(
vtk
${
PROJECT_NAME
}
Python XdmfPython_SRCS
${
Xdmf_SRCS
}
)
PVVTK_ADD_LIBRARY
(
vtk
${
PROJECT_NAME
}
Python MODULE
${
XdmfPython_SRCS
}
${
Xdmf_SRCS
}
)
IF
(
VTK_USE_PARALLEL
)
TARGET_LINK_LIBRARIES
(
vtk
${
PROJECT_NAME
}
Python vtkIOPythonD vtkRenderingPythonD vtkParallelPythonD Xdmf
)
ELSE
(
VTK_USE_PARALLEL
)
TARGET_LINK_LIBRARIES
(
vtk
${
PROJECT_NAME
}
Python vtkIOPythonD vtkRenderingPythonD Xdmf
)
ENDIF
(
VTK_USE_PARALLEL
)
set
(
_xdmf_link_lib
vtkIOCorePythonD
vtkRenderingCorePythonD
Xdmf
)
if
(
VTK_USE_PARALLEL
)
list
(
APPEND _xdmf_link_lib vtkParallelCorePythonD
)
endif
()
target_link_libraries
(
vtk
${
PROJECT_NAME
}
Python
${
_xdmf_link_lib
}
)
ADD_DEPENDENCIES
(
vtk
${
PROJECT_NAME
}
Python vtk
${
PROJECT_NAME
}
)
ENDIF
(
VTK_WRAP_PYTHON
)
ELSE
(
VTK_FOUND
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment