Remove superfluous OpenGL_GL_PREFERENCE assignment

We did set this variable, however after src/gui/configure.cmake
was loaded (it is early-loaded in src/CMakeLists.txt), meaning the
assignment had no effect.

Also, what this assignment tried to achieve is covered by our global
CMake policies now.

Task-number: QTBUG-89754
Change-Id: Ie7aeee1505d112d799455b2915acbfa7e9a12a64
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
(cherry picked from commit 36b1e03ecdaac40aaae5fa42ee9a5b3b50991ea3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Joerg Bornemann 2021-01-04 17:00:45 +01:00 committed by Qt Cherry-pick Bot
parent fd5491ad9a
commit 636fcc4bb2

View File

@ -1,7 +1,5 @@
# Generated from gui.pro.
set(OpenGL_GL_PREFERENCE GLVND) # special case:
#####################################################################
## Gui Module:
#####################################################################