<div dir="ltr">Orion,<div><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
<br></span>
I get this during an MPI build *but not serial it seems):<br>
<br>
CMake Warning (dev) at /usr/share/cmake/Modules/FindO<wbr>penGL.cmake:270 (message):<br>
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when<br>
available. Run "cmake --help-policy CMP0072" for policy details. Use the<br>
cmake_policy command to set the policy and suppress this warning.<br>
FindOpenGL found both a legacy GL library:<br>
OPENGL_gl_LIBRARY: /usr/lib64/libGL.so<br>
and GLVND libraries for OpenGL and GLX:<br>
OPENGL_opengl_LIBRARY: /usr/lib64/libOpenGL.so<br>
OPENGL_glx_LIBRARY: /usr/lib64/libGLX.so<br>
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for<br>
compatibility with CMake 3.10 and below the legacy GL library will be used.<span><br>
Call Stack (most recent call first):<br></span>
VTK/CMake/vtkOpenGL.cmake:127 (find_package)<br>
ThirdParty/IceT/CMakeLists.txt<wbr>:49 (include)<br>
<br>
<br>
SHould I be defining OpenGL_GL_PREFERENCE=GLVND?</blockquote><div><br></div><div>Yes, it couldn't hurt. FindOpenGL.cmake has detected both GLVND and GLX on your system and doesn't want to assume it knows which one you'd like to use. For more details on this, take a look at the comments in FindOpenGL.cmake.</div><div><br></div><div>Cory<br class="m_5904599164559175025gmail-Apple-interchange-newline"></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="m_5904599164559175025HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Orion Poplawski<br>
Manager of NWRA Technical Systems 720-772-5637<br>
NWRA, Boulder/CoRA Office FAX: 303-415-9702<br>
3380 Mitchell Lane <a href="mailto:orion@nwra.com" target="_blank">orion@nwra.com</a><br>
Boulder, CO 80301 <a href="https://www.nwra.com/" rel="noreferrer" target="_blank">https://www.nwra.com/</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_5904599164559175025gmail_signature" data-smartmail="gmail_signature">Cory Quammen<br>Staff R&D Engineer<br>Kitware, Inc.</div>
</div></div></div>