Rename vtkpython to vtkpython-9.0
authorAnton Gladky <gladk@debian.org>
Mon, 21 Aug 2023 22:27:20 +0000 (23:27 +0100)
committerMichael R. Crusoe <crusoe@debian.org>
Mon, 21 Aug 2023 22:27:20 +0000 (23:27 +0100)
Last-Update: 2020-11-05

Gbp-Pq: Name 40_vtkpython-9.patch

Wrapping/Python/CMakeLists.txt

index 3f634e025f42d866dedb86814039059ae6ffad6d..5969f8279341d25ff4d63b2a52835dc9bf47e4c6 100644 (file)
@@ -23,21 +23,21 @@ endif ()
 
 # 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 ()