Skip to content

Commit ae30832

Browse files
jcfrrupertnash
andcommitted
COMP: vtkMacroKitPythonWrap: Remove obsolete use of PYTHON_INCLUDE_PATH
Use of `PYTHON_INCLUDE_PATH` originally added to `CMake/KitCommonPythonWrapBlock.cmake` in Kitware/VTK@0f898bff8 (VTK v5.8.0). Then, after Kitware/VTK@c13ff7ba7 (VTK v6.0.0), the file `CMake/KitCommonPythonWrapBlock.cmake` was completely removed and there are no explicit use of `PYTHON_INCLUDE_PATH` in the VTK code base. Since the use of `PYTHON_INCLUDE_PATH` in Slicer was originally introduced in `vtkMacroKitPythonWrap` through Slicer/Slicer@59c8640c6 (COMP: Factor out VTK specific python wrapping code into vtkMacroKitPythonWrap) which was associated with VTK v5.10.0, this commit completely removes its use since only VTK >= 8.2.0 is now supported following a64d854 (COMP: Update vtkMacroKitPythonWrap removing support for VTK < 8.2) Co-authored-by: Rupert Nash <[email protected]>
1 parent d7d43d8 commit ae30832

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

CMake/vtkMacroKitPythonWrap.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,6 @@ macro(vtkMacroKitPythonWrap)
228228

229229
VTK_WRAP_PYTHON3(${MY_KIT_NAME}Python KitPython_SRCS "${TMP_WRAP_FILES}")
230230

231-
include_directories("${PYTHON_INCLUDE_PATH}")
232-
233231
if(${VTK_VERSION} VERSION_LESS "8.90")
234232

235233
# Create a python module that can be loaded dynamically. It links to

0 commit comments

Comments
 (0)