aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/QtOpenGLFunctions
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-09-04 09:32:01 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-09-04 08:39:34 +0000
commita17f4a90b1af174b38b839fc1b5bc0e933ad1725 (patch)
tree4d469a29ffca892b571a0b13a8e64974921795c7 /sources/pyside2/PySide2/QtOpenGLFunctions
parent9768da0be5a09632c60c4e4035fa52b9c55376df (diff)
Bump cmake version to 3.16
Streamline the features list handling in the module CMakeLists to use the list functionality introduced in cmake 3.3. Task-number: PYSIDE-1339 Task-number: PYSIDE-904 Change-Id: I184034cae408c815bd80a09016a21fde2969449e Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/PySide2/QtOpenGLFunctions')
-rw-r--r--sources/pyside2/PySide2/QtOpenGLFunctions/CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/sources/pyside2/PySide2/QtOpenGLFunctions/CMakeLists.txt b/sources/pyside2/PySide2/QtOpenGLFunctions/CMakeLists.txt
index fcda32a18..7e795989f 100644
--- a/sources/pyside2/PySide2/QtOpenGLFunctions/CMakeLists.txt
+++ b/sources/pyside2/PySide2/QtOpenGLFunctions/CMakeLists.txt
@@ -8,7 +8,6 @@ set(QtOpenGLFunctions_SRC ${QtOpenGLFunctions_GEN_DIR}/qtopenglfunctions_module_
get_property(QtGui_enabled_features TARGET Qt${QT_MAJOR_VERSION}::Gui
PROPERTY QT_ENABLED_PUBLIC_FEATURES)
-cmake_policy(SET CMP0057 NEW)
if("opengles2" IN_LIST QtGui_enabled_features)
list(APPEND QtOpenGLFunctions_SRC
${QtOpenGLFunctions_GEN_DIR}/qopenglfunctions_es2_wrapper.cpp)