On Wed, Dec 12, 2018 at 8:41 AM Rex Dieter <rdieter@gmail.com> wrote:
Richard Shaw wrote:

> Answering part of my own question here using the rawhide test instance:
>
> $ pkg-config --libs glew
> -lGLEW -lGLU -lGL
>
> Minimal CMake test config:
>
> $ cmake .
> -- GLEW_LIBRARIES: /usr/lib64/libGLEW.so
> -- Configuring done
> -- Generating done
>
> It looks like -lGLU is being picked up somewhere else in the build but not
> -lGL...

Which libraries or objects is missing the libGL linkage exactly?  Is it
blender or one of it's dependencies?

The blender and blenderplayer targets... I'm thinking this has something to do with the OpenGL_gl_PREFERNCE policy change in CMake which prefers GLVND but I'm not sure the Blender CMake config is handling it correctly.

Thanks,
Richard