aboutsummaryrefslogtreecommitdiff
path: root/ports/paraview/python_include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/paraview/python_include.patch')
-rw-r--r--ports/paraview/python_include.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/paraview/python_include.patch b/ports/paraview/python_include.patch
new file mode 100644
index 000000000..42ada661b
--- /dev/null
+++ b/ports/paraview/python_include.patch
@@ -0,0 +1,13 @@
+diff --git a/CMake/ParaViewOptions.cmake b/CMake/ParaViewOptions.cmake
+index 0ecb928e9..5b5459a37 100644
+--- a/CMake/ParaViewOptions.cmake
++++ b/CMake/ParaViewOptions.cmake
+@@ -136,7 +136,7 @@ option(PARAVIEW_ENABLE_RAYTRACING "Build ParaView with OSPray and/or OptiX ray-t
+
+ set(paraview_web_default ON)
+ if (PARAVIEW_USE_PYTHON AND WIN32)
+- include("${CMAKE_CURRENT_SOURCE_DIR}/VTK/CMake/FindPythonModules.cmake")
++ include(FindPythonModules)
+ find_python_module(win32api have_pywin32)
+ set(paraview_web_default "${have_pywin32}")
+ endif ()