GTK3 build fails when OpenGL_GL_PREFERENCE is set to GLVND
NetRadiant builds successfully against GTK3 only when OpenGL_GL_PREFERENCE
is set to LEGACY
(which is the default for now, but this may change in future versions of cmake: https://cmake.org/cmake/help/latest/policy/CMP0072.html).
When OpenGL_GL_PREFERENCE
is set to GLVND
, the compilation fails with the following errors: https://pastebin.com/cyqUj3j1
This problem doesn't exist with a GTK2 build.