Re: [Piglit] [PATCH v1] cmake: Use Policy CMP0072 as OLD by default.

2018-06-12 Thread Dylan Baker
Quoting Sergii Romantsov (2018-06-12 05:57:45) > Hello. > > Seems reasonable, > Reviewed-by: Dylan Baker > > > Could we push it? > > On Fri, Jun 8, 2018 at 6:51 PM, Dylan Baker wrote: > > Quoting Sergii Romantsov (2018-06-08 02:19:01) > > If system has installed both GL libra

Re: [Piglit] [PATCH v1] cmake: Use Policy CMP0072 as OLD by default.

2018-06-12 Thread Sergii Romantsov
Hello. > Seems reasonable, > Reviewed-by: Dylan Baker Could we push it? On Fri, Jun 8, 2018 at 6:51 PM, Dylan Baker wrote: > Quoting Sergii Romantsov (2018-06-08 02:19:01) > > If system has installed both GL libraries such as > > Legacy and GLVND, cmake will dump warning: > > > > "OpenGL_GL_

Re: [Piglit] [PATCH v1] cmake: Use Policy CMP0072 as OLD by default.

2018-06-08 Thread Dylan Baker
Quoting Sergii Romantsov (2018-06-08 02:19:01) > If system has installed both GL libraries such as > Legacy and GLVND, cmake will dump warning: > > "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."

[Piglit] [PATCH v1] cmake: Use Policy CMP0072 as OLD by default.

2018-06-08 Thread Sergii Romantsov
If system has installed both GL libraries such as Legacy and GLVND, cmake will dump warning: "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." Added usage of Policy CMP0072 as OLD (that selects LEGACY