diff --git a/CMake/vtkModuleWrapPython.cmake b/CMake/vtkModuleWrapPython.cmake index d8d8151c..5770cd3e 100644 --- a/CMake/vtkModuleWrapPython.cmake +++ b/CMake/vtkModuleWrapPython.cmake @@ -172,6 +172,8 @@ function (_vtk_module_wrap_python_sources module sources classes) "$") set(_vtk_python_genex_include_directories "$") + set(_vtk_python_genex_interface_include_directories + "$") else () if (NOT DEFINED ENV{CI}) message(AUTHOR_WARNING @@ -185,6 +187,7 @@ function (_vtk_module_wrap_python_sources module sources classes) OUTPUT "${_vtk_python_args_file}" CONTENT "$<$:\n-D\'$\'>\n $<$:\n-I\'$\'>\n +$<$:\n-I\'$\'>\n $<$:\n--types \'$\'>\n") set(_vtk_python_sources)