Last-Update: 2020-11-05
Gbp-Pq: Name 40_vtkpython-9.patch
# The interpreters are not supported in wheel builds, so skip them.
if (NOT VTK_WHEEL_BUILD)
- add_executable(vtkpython
+ add_executable(vtkpython-9.0
vtkpython.rc
vtkPythonAppInit.cxx)
- target_link_libraries(vtkpython
+ target_link_libraries(vtkpython-9.0
PRIVATE
VTK::WrappingPythonCore
VTK::PythonInterpreter
VTK::Python
VTK::vtkpythonmodules
VTK::vtksys)
- add_executable(VTK::vtkpython ALIAS vtkpython)
+ add_executable(VTK::vtkpython-9.0 ALIAS vtkpython-9.0)
if (VTK_INSTALL_PYTHON_EXES)
install(
- TARGETS vtkpython
- EXPORT VTKPython
+ TARGETS vtkpython-9.0
+ EXPORT VTK9Python
DESTINATION "${CMAKE_INSTALL_BINDIR}")
endif ()