From 72bbef8b0eec3aff9d58ae83e2afef9ec0758fb7 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Tue, 14 Dec 2021 18:19:12 +0100 Subject: Switch examples to build as isolated sub-builds Task-number: QTBUG-90820 Change-Id: Iac4cb61d45a9ca0d19ebc1f43bf281cb2dc52f10 Reviewed-by: Alexey Edelev (cherry picked from commit 8b0d5814b500545e71a0698c52dc48f5201b67fa) Reviewed-by: Qt Cherry-pick Bot --- examples/websockets/CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/websockets/CMakeLists.txt b/examples/websockets/CMakeLists.txt index 196d6a1..c608f0b 100644 --- a/examples/websockets/CMakeLists.txt +++ b/examples/websockets/CMakeLists.txt @@ -1,13 +1,13 @@ # Generated from websockets.pro. -add_subdirectory(echoclient) -add_subdirectory(echoserver) -add_subdirectory(simplechat) +qt_internal_add_example(echoclient) +qt_internal_add_example(echoserver) +qt_internal_add_example(simplechat) if(TARGET Qt::Quick) - add_subdirectory(qmlwebsocketclient) - add_subdirectory(qmlwebsocketserver) + qt_internal_add_example(qmlwebsocketclient) + qt_internal_add_example(qmlwebsocketserver) endif() if(QT_FEATURE_ssl) - add_subdirectory(sslechoserver) - add_subdirectory(sslechoclient) + qt_internal_add_example(sslechoserver) + qt_internal_add_example(sslechoclient) endif() -- cgit v1.2.1