mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
14 lines
560 B
CMake
14 lines
560 B
CMake
include(vtkModuleMacrosPython)
|
|
|
|
# The RELATIVE make vtk_module_python_package() preserve the vtk/module package
|
|
# structure when building/installing. Otherwise, we'd just get the "web"
|
|
# package.
|
|
vtk_module_python_package(${vtk-module} "paraview/web"
|
|
RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}")
|
|
|
|
# copy some default sources and proxies for ParaViewWeb
|
|
set(ParaViewPython_BINARY_DIR "${VTK_BUILD_PYTHON_MODULE_DIR}/paraview/web")
|
|
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/defaultProxies.json"
|
|
DESTINATION "${ParaViewPython_BINARY_DIR}"
|
|
USE_SOURCE_PERMISSIONS)
|