pineapple/externals/vcpkg/ports/paraview/python_include.patch

14 lines
559 B
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
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 ()