summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-01-04 17:00:45 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-01-06 09:30:31 +0100
commit36b1e03ecdaac40aaae5fa42ee9a5b3b50991ea3 (patch)
tree0ae46bbc1446f6771ecc1a21d330789d0060d62c /src/gui
parent32a46a1dcf7c06fac4da2a4e6e549e81d0be98f9 (diff)
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. Pick-to: 6.0 Task-number: QTBUG-89754 Change-Id: Ie7aeee1505d112d799455b2915acbfa7e9a12a64 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/CMakeLists.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt
index b2a682781d..802c0a2ecd 100644
--- a/src/gui/CMakeLists.txt
+++ b/src/gui/CMakeLists.txt
@@ -1,7 +1,5 @@
# Generated from gui.pro.
-set(OpenGL_GL_PREFERENCE GLVND) # special case:
-
#####################################################################
## Gui Module:
#####################################################################