From 8c4d81484cab865d83ea1f3c69063b1797c12a8e Mon Sep 17 00:00:00 2001 From: Amir Masoud Abdol Date: Thu, 13 Apr 2023 09:38:02 +0200 Subject: [PATCH] Replace PUBLIC_LIBRARIES with LIBRARIES in qt_internal_add_manual_test Noticed the warnings when building the manual tests. Pick-to: 6.5 Change-Id: I7f927f42f11d234ec3c980f36d8e12c0c49be712 Reviewed-by: Joerg Bornemann --- tests/manual/highdpi/dprgadget/CMakeLists.txt | 2 +- tests/manual/highdpi/kitchensink/CMakeLists.txt | 2 +- tests/manual/highdpi/pixelgadget/CMakeLists.txt | 2 +- tests/manual/highdpi/screengadget/CMakeLists.txt | 2 +- tests/manual/rhi/imguirenderer/CMakeLists.txt | 2 +- tests/manual/rhi/tex1d/CMakeLists.txt | 2 +- tests/manual/wasm/network/sockify_sockets_auto/CMakeLists.txt | 2 +- tests/manual/wasm/qstdweb/CMakeLists.txt | 4 ++-- tests/manual/wasm/qwasmwindow/CMakeLists.txt | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/manual/highdpi/dprgadget/CMakeLists.txt b/tests/manual/highdpi/dprgadget/CMakeLists.txt index 0d23fab040..2c6bd91f0d 100644 --- a/tests/manual/highdpi/dprgadget/CMakeLists.txt +++ b/tests/manual/highdpi/dprgadget/CMakeLists.txt @@ -6,7 +6,7 @@ qt_internal_add_manual_test(dprgadget SOURCES main.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Widgets Qt::GuiPrivate diff --git a/tests/manual/highdpi/kitchensink/CMakeLists.txt b/tests/manual/highdpi/kitchensink/CMakeLists.txt index 046a7a2117..8caf85983e 100644 --- a/tests/manual/highdpi/kitchensink/CMakeLists.txt +++ b/tests/manual/highdpi/kitchensink/CMakeLists.txt @@ -11,7 +11,7 @@ qt_internal_add_manual_test(kitchensink HAVE_SCREEN_BASE_DPI INCLUDE_DIRECTORIES . - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::GuiPrivate Qt::Widgets diff --git a/tests/manual/highdpi/pixelgadget/CMakeLists.txt b/tests/manual/highdpi/pixelgadget/CMakeLists.txt index 9a1f67aeb1..2cc04225df 100644 --- a/tests/manual/highdpi/pixelgadget/CMakeLists.txt +++ b/tests/manual/highdpi/pixelgadget/CMakeLists.txt @@ -7,7 +7,7 @@ qt_internal_add_manual_test(pixelgadget GUI SOURCES main.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Widgets ) diff --git a/tests/manual/highdpi/screengadget/CMakeLists.txt b/tests/manual/highdpi/screengadget/CMakeLists.txt index f85ea159c2..d9045541bb 100644 --- a/tests/manual/highdpi/screengadget/CMakeLists.txt +++ b/tests/manual/highdpi/screengadget/CMakeLists.txt @@ -7,7 +7,7 @@ qt_internal_add_manual_test(screengadget GUI SOURCES main.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Widgets Qt::GuiPrivate diff --git a/tests/manual/rhi/imguirenderer/CMakeLists.txt b/tests/manual/rhi/imguirenderer/CMakeLists.txt index 1b5bbaccb5..619c351d7f 100644 --- a/tests/manual/rhi/imguirenderer/CMakeLists.txt +++ b/tests/manual/rhi/imguirenderer/CMakeLists.txt @@ -2,7 +2,7 @@ qt_internal_add_manual_test(imguirenderer GUI SOURCES imguirenderer.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::GuiPrivate ) diff --git a/tests/manual/rhi/tex1d/CMakeLists.txt b/tests/manual/rhi/tex1d/CMakeLists.txt index b27627a13a..f456b35d56 100644 --- a/tests/manual/rhi/tex1d/CMakeLists.txt +++ b/tests/manual/rhi/tex1d/CMakeLists.txt @@ -5,7 +5,7 @@ qt_internal_add_manual_test(tex1d GUI SOURCES tex1d.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::GuiPrivate ) diff --git a/tests/manual/wasm/network/sockify_sockets_auto/CMakeLists.txt b/tests/manual/wasm/network/sockify_sockets_auto/CMakeLists.txt index f69bd80259..fb9a9f8543 100644 --- a/tests/manual/wasm/network/sockify_sockets_auto/CMakeLists.txt +++ b/tests/manual/wasm/network/sockify_sockets_auto/CMakeLists.txt @@ -2,7 +2,7 @@ qt_internal_add_manual_test(sockify_sockets_auto SOURCES main.cpp ../../qtwasmtestlib/qtwasmtestlib.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::Network ) diff --git a/tests/manual/wasm/qstdweb/CMakeLists.txt b/tests/manual/wasm/qstdweb/CMakeLists.txt index 234b12bab9..4941285f8a 100644 --- a/tests/manual/wasm/qstdweb/CMakeLists.txt +++ b/tests/manual/wasm/qstdweb/CMakeLists.txt @@ -25,7 +25,7 @@ qt_internal_add_manual_test(files_auto SOURCES files_main.cpp ../qtwasmtestlib/qtwasmtestlib.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate @@ -49,7 +49,7 @@ qt_internal_add_manual_test(qwasmcompositor_auto SOURCES qwasmcompositor_main.cpp ../qtwasmtestlib/qtwasmtestlib.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/manual/wasm/qwasmwindow/CMakeLists.txt b/tests/manual/wasm/qwasmwindow/CMakeLists.txt index 73e267331e..b337734548 100644 --- a/tests/manual/wasm/qwasmwindow/CMakeLists.txt +++ b/tests/manual/wasm/qwasmwindow/CMakeLists.txt @@ -1,7 +1,7 @@ qt_internal_add_manual_test(qwasmwindow_harness SOURCES qwasmwindow_harness.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate