diff --git a/CMake/vtkModuleWrapPython.cmake b/CMake/vtkModuleWrapPython.cmake index 5d2c2e1bf..e33a16d68 100644 --- a/CMake/vtkModuleWrapPython.cmake +++ b/CMake/vtkModuleWrapPython.cmake @@ -75,10 +75,13 @@ function (_vtk_module_wrap_python_sources module sources classes) "$") set(_vtk_python_genex_include_directories "$") + set(_vtk_python_genex_interface_include_directories + "$") file(GENERATE OUTPUT "${_vtk_python_args_file}" CONTENT "$<$:\n-D\'$\'>\n -$<$:\n-I\'$\'>\n") +$<$:\n-I\'$\'>\n +$<$:\n-I\'$\'>\n") _vtk_module_get_module_property("${module}" PROPERTY "hierarchy"