Not really a bug: If i try to compile the following warning is thrown:
CMake Warning (dev) at /usr/share/cmake-3.11/Modules/FindOpenGL.cmake:270 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Not really a bug: If i try to compile the following warning is thrown:
CMake Warning (dev) at /usr/share/ cmake-3. 11/Modules/ FindOpenGL. cmake:270 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_ gl_LIBRARY: /usr/lib/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_ opengl_ LIBRARY: /usr/lib/ libOpenGL. so glx_LIBRARY: /usr/lib/libGLX.so
OPENGL_
OpenGL_ GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
See also: https:/ /cmake. org/cmake/ help/v3. 11/policy/ CMP0072. html