Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure we use the right OpenGL libs.
After c512578 , even though we're no longer compiling OpenGL ES support when Qt wasn't compiled to use Qt, we were still linking OpenGL ES libs on systems with OpenGL ES development packages installed. This change should ensure we use OpenGL ES libs only when using a Qt version compiled against OpenGL ES, and use non-ES libs when using a Qt version compiled against non-ES OpenGL. This seems like it should work for all systems--Qt using OpenGL with OpenGL installed on the system (regardless of whether OpenGL ES is installed) or Qt using OpenGL ES with OpenGL ES installed (regardless of whether non-ES OpenGL is installed)--but I haven't tested it on an OpenGL ES compile, so please let me know if you encounter difficulties. Refs #10336
- Loading branch information