From 99c164bea8d5ae0c4e710f726469abe0957654c4 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Mon, 23 Oct 2023 16:34:18 +0200 Subject: Fix CMake config after move of example to manual tests Amends commit acb68bd3bbbc0001bcf460dd175ff92cc3ce594a to change its use of qt_internal_add_example() - appropriate where it came from, not where it was moved to - to plain add_subdirectory(). Pick-to: 6.5 Change-Id: Ie5ea13f8ba57154c0ae1fb44be9a327c88e3b4e2 Reviewed-by: Alexey Edelev (cherry picked from commit 6aa641c7a2d77de03857a002f80cda525c3065bd) Reviewed-by: Qt Cherry-pick Bot --- tests/manual/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/manual/CMakeLists.txt b/tests/manual/CMakeLists.txt index f7e9c6c5d..87ae459fd 100644 --- a/tests/manual/CMakeLists.txt +++ b/tests/manual/CMakeLists.txt @@ -15,5 +15,5 @@ if(TARGET Qt::WaylandCompositor) endif() if(QT_FEATURE_opengl AND TARGET Qt::Quick AND TARGET Qt::WaylandClient) - qt_internal_add_example(server-buffer) + add_subdirectory(server-buffer) endif() -- cgit v1.2.3