[Module?] Cannot configure OpenGL for a ParaView mesa build.
Previously, it was possible to specify OPENGL_gl_LIBRARY and OPENGL_INCLUDE_DIR, pointing them to a builded mesa, in order to produce a ParaView running mesa. Setting them manually does not seems to work.
How to reproduce :
- cd paraview_build
- rm -rf ./*
- cmake -GNinja -DOPENGL_gl_LIBRARY=/path/to/mesa/install/lib/libGL.so -DOPENGL_INCLUDE_DIR=/path/to/mesa/install/include/GL -DOPENGL_EGL_INCLUDE_DIR= -D OPENGL_GLES2_INCLUDE_DIR= -DOPENGL_GLES3_INCLUDE_DIR= -DOPENGL_GLX_INCLUDE_DIR= -DOPENGL_egl_LIBRARY= -DOPENGL_gles2_LIBRARY= -DOPENGL_gles3_LIBRARY= -DOPENGL_glu_LIBRARY= -DOPENGL_glx_LIBRARY= -DOPENGL_opengl_LIBRARY= ../paraview
CMake Error at VTK/CMake/vtkModule.cmake:3515 (message):
Could not find the OpenGL external dependency.
Call Stack (most recent call first):
VTK/CMake/vtkModule.cmake:3959 (vtk_module_find_package)
VTK/Utilities/OpenGL/CMakeLists.txt:35 (vtk_module_third_party_external)
Edited by Mathieu Westphal (Kitware)