[Piglit] [Bug 106857] New: Ubuntu 18.04. Fedora 27. Debian 9.4. Cmake 3.11. There is a warning during building piglit "Policy CMP0072 is not set"
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jun 8 09:17:17 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=106857
Bug ID: 106857
Summary: Ubuntu 18.04. Fedora 27. Debian 9.4. Cmake 3.11. There
is a warning during building piglit "Policy CMP0072 is
not set"
Product: piglit
Version: unspecified
Hardware: x86-64 (AMD64)
OS: All
Status: NEW
Severity: minor
Priority: medium
Component: infrastructure
Assignee: baker.dylan.c at gmail.com
Reporter: denys.kostin at globallogic.com
QA Contact: piglit at lists.freedesktop.org
Hello. We found out that during building piglit on those specified OS's using
Cmake 3.11 (and higher) - during cmake we are getting warning (provided below)
In these OS's we have package libglvnd-opengl, installed by default.
Because of it, when you are using CMake 3.11+ - you are getting warning about
profile.
upd - tested with Cmake 3.10 (on the same configurations) - warning didn't
exist.
CMake Warning (dev) at /usr/share/cmake/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/lib64/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib64/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib64/libGLX.so
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.
Call Stack (most recent call first):
CMakeLists.txt:49 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20180608/8023e2a5/attachment-0001.html>
More information about the Piglit
mailing list