I get an error when I use CMake to configure ParaView .How should I Solve the following error?
Selecting Windows SDK version 10.0.14393.0 to target Windows 10.0.17134.
CMake Error at VTK/CMake/vtkModule.cmake:1384 (target_link_libraries):
INTERFACE library can only be used with the INTERFACE keyword of
target_link_libraries
Call Stack (most recent call first):
VTK/Utilities/OpenGL/CMakeLists.txt:53 (vtk_module_link)
CMake Error at VTK/CMake/vtkModule.cmake:1419 (target_link_options):
target_link_options may only set INTERFACE properties on INTERFACE targets
Call Stack (most recent call first):
VTK/Utilities/OpenGL/CMakeLists.txt:56 (vtk_module_link_options)
Which version of ParaView are you trying to build ?
How did you recover the sources ?
Which version of windows are you using ?
Which version of CMake are you using ?
Which generator are you using ?
Thank you for your answer.
I am using paraview5.7 version
I used this command to get the source code “git clone https://gitlab.kitware.com/paraview/paraview.git”
Windows version is windows 10
CMake version is 3.16.0
Not yet generated