<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Ubuntu 18.04. Fedora 27. Debian 9.4. Cmake 3.11. There is a warning during building piglit "Policy CMP0072 is not set""
href="https://bugs.freedesktop.org/show_bug.cgi?id=106857">106857</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Ubuntu 18.04. Fedora 27. Debian 9.4. Cmake 3.11. There is a warning during building piglit "Policy CMP0072 is not set"
</td>
</tr>
<tr>
<th>Product</th>
<td>piglit
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>minor
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>infrastructure
</td>
</tr>
<tr>
<th>Assignee</th>
<td>baker.dylan.c@gmail.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>denys.kostin@globallogic.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>piglit@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>