if(QT_FEATURE_wayland_server) if(QT_FEATURE_opengl) qt_internal_add_example(minimal-cpp) endif() if(TARGET Qt::Quick) 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) add_subdirectory(custom-shell) endif() if(QT_FEATURE_opengl AND TARGET Qt::Quick AND TARGET Qt::WaylandClient) add_subdirectory(server-buffer) endif() endif()