Rename vtkpython to vtkpython-9.0
authorAnton Gladky <gladk@debian.org>
Thu, 6 Jun 2024 19:34:35 +0000 (21:34 +0200)
committerAnton Gladky <gladk@debian.org>
Thu, 6 Jun 2024 19:34:35 +0000 (21:34 +0200)
Last-Update: 2020-11-05

Gbp-Pq: Name 40_vtkpython-9.patch

Wrapping/Python/CMakeLists.txt

index e5340d3ea3cbe1e0ba684e441e2f5350699910d1..51c657d29efe7a5afad4367182281339902ce909 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 ()