build paraview in wsl::ubuntu error with Unknown CMake command "_vtk_module_depfile_args".
hello, when i build paraview at commit 11de0418 failed. the error message as following:
cmake -GNinja -DPARAVIEW_USE_PYTHON=ON -DPARAVIEW_USE_MPI=ON -DVTK_SMP_IMPLEMENTATION_TYPE=TBB -DCMAKE_BUILD_TYPE=Release ../paraview
cmake -GNinja -DPARAVIEW_USE_PYTHON=ON -DPARAVIEW_USE_MPI=ON -DVTK_SMP_IMPLEMENTATION_TYPE=TBB -DCMAKE_BUILD_TYPE=Release ../paraview
-- Using 'QtHelp' without 'QtWebEngine' will ignore embedded javascript and *.js files for documentation
CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CMakeDependentOption.cmake:84 (message):
Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
Syntax. Run "cmake --help-policy CMP0127" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
CMakeLists.txt:165 (cmake_dependent_option)
This warning is for project developers. Use -Wno-dev to suppress it.
-- VTK version: 9.3.0-1212-g18cdfaea1b
CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CMakeDependentOption.cmake:84 (message):
Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
Syntax. Run "cmake --help-policy CMP0127" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
VTK/Common/Core/CMakeLists.txt:52 (cmake_dependent_option)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Enabled modules: VTK(182), ParaView(51 + 12)
CMake Error at CMake/vtkModuleWrapClientServer.cmake:112 (_vtk_module_depfile_args):
Unknown CMake command "_vtk_module_depfile_args".
Call Stack (most recent call first):
CMake/vtkModuleWrapClientServer.cmake:180 (_vtk_module_wrap_client_server_sources)
CMake/vtkModuleWrapClientServer.cmake:372 (_vtk_module_wrap_client_server_library)
CMake/ParaViewPlugin.cmake:1208 (vtk_module_wrap_client_server)
Plugins/AnalyzeNIfTIReaderWriter/CMakeLists.txt:1 (paraview_add_plugin)
-- Configuring incomplete, errors occurred!
cmake --version
cmake version 3.22.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).