summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/offscreen
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/offscreen')
-rw-r--r--src/plugins/platforms/offscreen/.prev_CMakeLists.txt4
-rw-r--r--src/plugins/platforms/offscreen/CMakeLists.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/platforms/offscreen/.prev_CMakeLists.txt b/src/plugins/platforms/offscreen/.prev_CMakeLists.txt
index 5944b24741..3980ab62f8 100644
--- a/src/plugins/platforms/offscreen/.prev_CMakeLists.txt
+++ b/src/plugins/platforms/offscreen/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## qoffscreen Plugin:
#####################################################################
-add_qt_plugin(qoffscreen
+qt_add_plugin(qoffscreen
TYPE platforms
CLASS_NAME QOffscreenIntegrationPlugin
SOURCES
@@ -32,7 +32,7 @@ add_qt_plugin(qoffscreen
## Scopes:
#####################################################################
-extend_target(qoffscreen CONDITION QT_FEATURE_opengl AND QT_FEATURE_xlib AND NOT QT_FEATURE_opengles2
+qt_extend_target(qoffscreen CONDITION QT_FEATURE_opengl AND QT_FEATURE_xlib AND NOT QT_FEATURE_opengles2
SOURCES
qoffscreenintegration_x11.cpp qoffscreenintegration_x11.h
LIBRARIES
diff --git a/src/plugins/platforms/offscreen/CMakeLists.txt b/src/plugins/platforms/offscreen/CMakeLists.txt
index adccec6efe..03576b898e 100644
--- a/src/plugins/platforms/offscreen/CMakeLists.txt
+++ b/src/plugins/platforms/offscreen/CMakeLists.txt
@@ -4,7 +4,7 @@
## qoffscreen Plugin:
#####################################################################
-add_qt_plugin(qoffscreen
+qt_add_plugin(qoffscreen
TYPE platforms
CLASS_NAME QOffscreenIntegrationPlugin
DEFAULT_IF ${QT_QPA_DEFAULT_PLATFORM} MATCHES offscreen # special case
@@ -33,7 +33,7 @@ add_qt_plugin(qoffscreen
## Scopes:
#####################################################################
-extend_target(qoffscreen CONDITION QT_FEATURE_opengl AND QT_FEATURE_xlib AND NOT QT_FEATURE_opengles2
+qt_extend_target(qoffscreen CONDITION QT_FEATURE_opengl AND QT_FEATURE_xlib AND NOT QT_FEATURE_opengles2
SOURCES
qoffscreenintegration_x11.cpp qoffscreenintegration_x11.h
LIBRARIES