summaryrefslogtreecommitdiff
path: root/examples/wayland
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland')
-rw-r--r--examples/wayland/CMakeLists.txt22
-rw-r--r--examples/wayland/custom-extension/CMakeLists.txt6
-rw-r--r--examples/wayland/custom-shell/CMakeLists.txt4
-rw-r--r--examples/wayland/server-buffer/CMakeLists.txt4
4 files changed, 18 insertions, 18 deletions
diff --git a/examples/wayland/CMakeLists.txt b/examples/wayland/CMakeLists.txt
index 1bc36387..c4553bdb 100644
--- a/examples/wayland/CMakeLists.txt
+++ b/examples/wayland/CMakeLists.txt
@@ -2,19 +2,19 @@
if(QT_FEATURE_wayland_server) # special case
if(QT_FEATURE_opengl)
- add_subdirectory(minimal-cpp)
+ qt_internal_add_example(minimal-cpp)
endif()
if(TARGET Qt::Quick)
- add_subdirectory(minimal-qml)
- add_subdirectory(spanning-screens)
- add_subdirectory(pure-qml)
- add_subdirectory(multi-output)
- add_subdirectory(multi-screen)
- add_subdirectory(overview-compositor)
- add_subdirectory(ivi-compositor)
- add_subdirectory(server-side-decoration)
- add_subdirectory(hwlayer-compositor)
- add_subdirectory(qtshell)
+ qt_internal_add_example(minimal-qml)
+ qt_internal_add_example(spanning-screens)
+ qt_internal_add_example(pure-qml)
+ qt_internal_add_example(multi-output)
+ qt_internal_add_example(multi-screen)
+ qt_internal_add_example(overview-compositor)
+ qt_internal_add_example(ivi-compositor)
+ qt_internal_add_example(server-side-decoration)
+ qt_internal_add_example(hwlayer-compositor)
+ qt_internal_add_example(qtshell)
endif()
if(TARGET Qt::Quick AND TARGET Qt::WaylandClient)
add_subdirectory(custom-extension)
diff --git a/examples/wayland/custom-extension/CMakeLists.txt b/examples/wayland/custom-extension/CMakeLists.txt
index 408a9174..bdf9e124 100644
--- a/examples/wayland/custom-extension/CMakeLists.txt
+++ b/examples/wayland/custom-extension/CMakeLists.txt
@@ -1,5 +1,5 @@
# Generated from custom-extension.pro.
-add_subdirectory(qml-client)
-add_subdirectory(compositor)
-add_subdirectory(cpp-client)
+qt_internal_add_example(qml-client)
+qt_internal_add_example(compositor)
+qt_internal_add_example(cpp-client)
diff --git a/examples/wayland/custom-shell/CMakeLists.txt b/examples/wayland/custom-shell/CMakeLists.txt
index 1d12b07b..7158582e 100644
--- a/examples/wayland/custom-shell/CMakeLists.txt
+++ b/examples/wayland/custom-shell/CMakeLists.txt
@@ -1,2 +1,2 @@
-add_subdirectory(client-plugin)
-add_subdirectory(compositor)
+qt_internal_add_example(client-plugin)
+qt_internal_add_example(compositor)
diff --git a/examples/wayland/server-buffer/CMakeLists.txt b/examples/wayland/server-buffer/CMakeLists.txt
index ad411511..751ebc0f 100644
--- a/examples/wayland/server-buffer/CMakeLists.txt
+++ b/examples/wayland/server-buffer/CMakeLists.txt
@@ -1,4 +1,4 @@
# Generated from server-buffer.pro.
-add_subdirectory(cpp-client)
-add_subdirectory(compositor)
+qt_internal_add_example(cpp-client)
+qt_internal_add_example(compositor)