From 03c93b489bd90233c29c98e2dc7dc9f113dfc6a2 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Wed, 27 Jul 2022 17:20:41 +0200 Subject: CMake: Don't use PUBLIC_LIBRARIES for tests and test helpers Change-Id: Ie8bd35a3aa6a56bfe4b3290b9c507a3ed9e61608 Reviewed-by: Alexey Edelev --- tests/auto/cpptest/q3daxis-category/CMakeLists.txt | 2 +- tests/auto/cpptest/q3daxis-logvalue/CMakeLists.txt | 2 +- tests/auto/cpptest/q3daxis-value/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dbars-modelproxy/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dbars-proxy/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dbars-series/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dbars/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dcustom-label/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dcustom-volume/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dcustom/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dinput-touch/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dinput/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dscatter-modelproxy/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dscatter-proxy/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dscatter-series/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dscatter/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dscene-camera/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dscene-light/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dscene/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dsurface-heightproxy/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dsurface-modelproxy-nan/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dsurface-modelproxy/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dsurface-proxy/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dsurface-series/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dsurface/CMakeLists.txt | 2 +- tests/auto/cpptest/q3dtheme/CMakeLists.txt | 2 +- tests/auto/qmltest/CMakeLists.txt | 2 +- 27 files changed, 27 insertions(+), 27 deletions(-) diff --git a/tests/auto/cpptest/q3daxis-category/CMakeLists.txt b/tests/auto/cpptest/q3daxis-category/CMakeLists.txt index 3bac4408..f4feee25 100644 --- a/tests/auto/cpptest/q3daxis-category/CMakeLists.txt +++ b/tests/auto/cpptest/q3daxis-category/CMakeLists.txt @@ -1,7 +1,7 @@ qt_internal_add_test(q3daxis-category SOURCES tst_axis.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::DataVisualization ) diff --git a/tests/auto/cpptest/q3daxis-logvalue/CMakeLists.txt b/tests/auto/cpptest/q3daxis-logvalue/CMakeLists.txt index 1c5932d1..750e261b 100644 --- a/tests/auto/cpptest/q3daxis-logvalue/CMakeLists.txt +++ b/tests/auto/cpptest/q3daxis-logvalue/CMakeLists.txt @@ -1,7 +1,7 @@ qt_internal_add_test(q3daxis-logvalue SOURCES tst_axis.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::DataVisualization ) diff --git a/tests/auto/cpptest/q3daxis-value/CMakeLists.txt b/tests/auto/cpptest/q3daxis-value/CMakeLists.txt index addb2c10..dfa9bf07 100644 --- a/tests/auto/cpptest/q3daxis-value/CMakeLists.txt +++ b/tests/auto/cpptest/q3daxis-value/CMakeLists.txt @@ -1,7 +1,7 @@ qt_internal_add_test(q3daxis-value SOURCES tst_axis.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::DataVisualization ) diff --git a/tests/auto/cpptest/q3dbars-modelproxy/CMakeLists.txt b/tests/auto/cpptest/q3dbars-modelproxy/CMakeLists.txt index 89fcaa60..7dcee104 100644 --- a/tests/auto/cpptest/q3dbars-modelproxy/CMakeLists.txt +++ b/tests/auto/cpptest/q3dbars-modelproxy/CMakeLists.txt @@ -3,7 +3,7 @@ qt_internal_add_test(q3dbars-modelproxy tst_proxy.cpp INCLUDE_DIRECTORIES ../common - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::GuiPrivate Qt::Widgets diff --git a/tests/auto/cpptest/q3dbars-proxy/CMakeLists.txt b/tests/auto/cpptest/q3dbars-proxy/CMakeLists.txt index d257b113..04fc81a3 100644 --- a/tests/auto/cpptest/q3dbars-proxy/CMakeLists.txt +++ b/tests/auto/cpptest/q3dbars-proxy/CMakeLists.txt @@ -1,7 +1,7 @@ qt_internal_add_test(q3dbars-proxy SOURCES tst_proxy.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::DataVisualization ) diff --git a/tests/auto/cpptest/q3dbars-series/CMakeLists.txt b/tests/auto/cpptest/q3dbars-series/CMakeLists.txt index c3e44bef..bb63db36 100644 --- a/tests/auto/cpptest/q3dbars-series/CMakeLists.txt +++ b/tests/auto/cpptest/q3dbars-series/CMakeLists.txt @@ -1,7 +1,7 @@ qt_internal_add_test(q3dbars-series SOURCES tst_series.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::DataVisualization ) diff --git a/tests/auto/cpptest/q3dbars/CMakeLists.txt b/tests/auto/cpptest/q3dbars/CMakeLists.txt index 95bb5a3d..201313c5 100644 --- a/tests/auto/cpptest/q3dbars/CMakeLists.txt +++ b/tests/auto/cpptest/q3dbars/CMakeLists.txt @@ -3,7 +3,7 @@ qt_internal_add_test(q3dbars tst_bars.cpp INCLUDE_DIRECTORIES ../common - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::GuiPrivate Qt::DataVisualization diff --git a/tests/auto/cpptest/q3dcustom-label/CMakeLists.txt b/tests/auto/cpptest/q3dcustom-label/CMakeLists.txt index ae29c699..3dbb188d 100644 --- a/tests/auto/cpptest/q3dcustom-label/CMakeLists.txt +++ b/tests/auto/cpptest/q3dcustom-label/CMakeLists.txt @@ -3,7 +3,7 @@ qt_internal_add_test(q3dcustom-label tst_custom.cpp INCLUDE_DIRECTORIES ../common - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::GuiPrivate Qt::DataVisualization diff --git a/tests/auto/cpptest/q3dcustom-volume/CMakeLists.txt b/tests/auto/cpptest/q3dcustom-volume/CMakeLists.txt index 5f8d2576..4fab9658 100644 --- a/tests/auto/cpptest/q3dcustom-volume/CMakeLists.txt +++ b/tests/auto/cpptest/q3dcustom-volume/CMakeLists.txt @@ -1,7 +1,7 @@ qt_internal_add_test(q3dcustom-volume SOURCES tst_custom.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::DataVisualization ) diff --git a/tests/auto/cpptest/q3dcustom/CMakeLists.txt b/tests/auto/cpptest/q3dcustom/CMakeLists.txt index e0816b76..3d917196 100644 --- a/tests/auto/cpptest/q3dcustom/CMakeLists.txt +++ b/tests/auto/cpptest/q3dcustom/CMakeLists.txt @@ -1,7 +1,7 @@ qt_internal_add_test(q3dcustom SOURCES tst_custom.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::DataVisualization ) diff --git a/tests/auto/cpptest/q3dinput-touch/CMakeLists.txt b/tests/auto/cpptest/q3dinput-touch/CMakeLists.txt index 507c78c8..de76081b 100644 --- a/tests/auto/cpptest/q3dinput-touch/CMakeLists.txt +++ b/tests/auto/cpptest/q3dinput-touch/CMakeLists.txt @@ -1,7 +1,7 @@ qt_internal_add_test(q3dinput-touch SOURCES tst_input.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::DataVisualization ) diff --git a/tests/auto/cpptest/q3dinput/CMakeLists.txt b/tests/auto/cpptest/q3dinput/CMakeLists.txt index 8254b259..b87ae1d4 100644 --- a/tests/auto/cpptest/q3dinput/CMakeLists.txt +++ b/tests/auto/cpptest/q3dinput/CMakeLists.txt @@ -1,7 +1,7 @@ qt_internal_add_test(q3dinput SOURCES tst_input.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::DataVisualization ) diff --git a/tests/auto/cpptest/q3dscatter-modelproxy/CMakeLists.txt b/tests/auto/cpptest/q3dscatter-modelproxy/CMakeLists.txt index 3f6e0203..a7de1ae0 100644 --- a/tests/auto/cpptest/q3dscatter-modelproxy/CMakeLists.txt +++ b/tests/auto/cpptest/q3dscatter-modelproxy/CMakeLists.txt @@ -1,7 +1,7 @@ qt_internal_add_test(q3dscatter-modelproxy SOURCES tst_proxy.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Widgets Qt::DataVisualization diff --git a/tests/auto/cpptest/q3dscatter-proxy/CMakeLists.txt b/tests/auto/cpptest/q3dscatter-proxy/CMakeLists.txt index 7875bab5..90768749 100644 --- a/tests/auto/cpptest/q3dscatter-proxy/CMakeLists.txt +++ b/tests/auto/cpptest/q3dscatter-proxy/CMakeLists.txt @@ -1,7 +1,7 @@ qt_internal_add_test(q3dscatter-proxy SOURCES tst_proxy.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::DataVisualization ) diff --git a/tests/auto/cpptest/q3dscatter-series/CMakeLists.txt b/tests/auto/cpptest/q3dscatter-series/CMakeLists.txt index 7191dec6..887c2732 100644 --- a/tests/auto/cpptest/q3dscatter-series/CMakeLists.txt +++ b/tests/auto/cpptest/q3dscatter-series/CMakeLists.txt @@ -1,7 +1,7 @@ qt_internal_add_test(q3dscatter-series SOURCES tst_series.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::DataVisualization ) diff --git a/tests/auto/cpptest/q3dscatter/CMakeLists.txt b/tests/auto/cpptest/q3dscatter/CMakeLists.txt index 78136693..5b1f841a 100644 --- a/tests/auto/cpptest/q3dscatter/CMakeLists.txt +++ b/tests/auto/cpptest/q3dscatter/CMakeLists.txt @@ -3,7 +3,7 @@ qt_internal_add_test(q3dscatter tst_scatter.cpp INCLUDE_DIRECTORIES ../common - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::GuiPrivate Qt::DataVisualization diff --git a/tests/auto/cpptest/q3dscene-camera/CMakeLists.txt b/tests/auto/cpptest/q3dscene-camera/CMakeLists.txt index e8abcd46..a15d6063 100644 --- a/tests/auto/cpptest/q3dscene-camera/CMakeLists.txt +++ b/tests/auto/cpptest/q3dscene-camera/CMakeLists.txt @@ -1,7 +1,7 @@ qt_internal_add_test(q3dscene-camera SOURCES tst_camera.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::DataVisualization ) diff --git a/tests/auto/cpptest/q3dscene-light/CMakeLists.txt b/tests/auto/cpptest/q3dscene-light/CMakeLists.txt index 5908e8ce..6d2cc1ad 100644 --- a/tests/auto/cpptest/q3dscene-light/CMakeLists.txt +++ b/tests/auto/cpptest/q3dscene-light/CMakeLists.txt @@ -1,7 +1,7 @@ qt_internal_add_test(q3dscene-light SOURCES tst_light.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::DataVisualization ) diff --git a/tests/auto/cpptest/q3dscene/CMakeLists.txt b/tests/auto/cpptest/q3dscene/CMakeLists.txt index 766d3388..82c1f21b 100644 --- a/tests/auto/cpptest/q3dscene/CMakeLists.txt +++ b/tests/auto/cpptest/q3dscene/CMakeLists.txt @@ -3,7 +3,7 @@ qt_internal_add_test(q3dscene tst_scene.cpp INCLUDE_DIRECTORIES ../common - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::GuiPrivate Qt::DataVisualization diff --git a/tests/auto/cpptest/q3dsurface-heightproxy/CMakeLists.txt b/tests/auto/cpptest/q3dsurface-heightproxy/CMakeLists.txt index ddff28fd..83b78ef1 100644 --- a/tests/auto/cpptest/q3dsurface-heightproxy/CMakeLists.txt +++ b/tests/auto/cpptest/q3dsurface-heightproxy/CMakeLists.txt @@ -1,7 +1,7 @@ qt_internal_add_test(q3dsurface-heightproxy SOURCES tst_proxy.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::DataVisualization ) diff --git a/tests/auto/cpptest/q3dsurface-modelproxy-nan/CMakeLists.txt b/tests/auto/cpptest/q3dsurface-modelproxy-nan/CMakeLists.txt index 8125bd21..ce392b97 100644 --- a/tests/auto/cpptest/q3dsurface-modelproxy-nan/CMakeLists.txt +++ b/tests/auto/cpptest/q3dsurface-modelproxy-nan/CMakeLists.txt @@ -3,7 +3,7 @@ qt_internal_add_test(q3dsurface-modelproxy-nan tst_proxy.cpp INCLUDE_DIRECTORIES ../common - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::GuiPrivate Qt::Widgets diff --git a/tests/auto/cpptest/q3dsurface-modelproxy/CMakeLists.txt b/tests/auto/cpptest/q3dsurface-modelproxy/CMakeLists.txt index 0738ba32..d4ce7020 100644 --- a/tests/auto/cpptest/q3dsurface-modelproxy/CMakeLists.txt +++ b/tests/auto/cpptest/q3dsurface-modelproxy/CMakeLists.txt @@ -3,7 +3,7 @@ qt_internal_add_test(q3dsurface-modelproxy tst_proxy.cpp INCLUDE_DIRECTORIES ../common - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::GuiPrivate Qt::Widgets diff --git a/tests/auto/cpptest/q3dsurface-proxy/CMakeLists.txt b/tests/auto/cpptest/q3dsurface-proxy/CMakeLists.txt index 868c6e3e..b77371ac 100644 --- a/tests/auto/cpptest/q3dsurface-proxy/CMakeLists.txt +++ b/tests/auto/cpptest/q3dsurface-proxy/CMakeLists.txt @@ -1,7 +1,7 @@ qt_internal_add_test(q3dsurface-proxy SOURCES tst_proxy.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::DataVisualization ) diff --git a/tests/auto/cpptest/q3dsurface-series/CMakeLists.txt b/tests/auto/cpptest/q3dsurface-series/CMakeLists.txt index cd85f2ce..1579651c 100644 --- a/tests/auto/cpptest/q3dsurface-series/CMakeLists.txt +++ b/tests/auto/cpptest/q3dsurface-series/CMakeLists.txt @@ -1,7 +1,7 @@ qt_internal_add_test(q3dsurface-series SOURCES tst_series.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::DataVisualization ) diff --git a/tests/auto/cpptest/q3dsurface/CMakeLists.txt b/tests/auto/cpptest/q3dsurface/CMakeLists.txt index 0cbfae3a..55498cb6 100644 --- a/tests/auto/cpptest/q3dsurface/CMakeLists.txt +++ b/tests/auto/cpptest/q3dsurface/CMakeLists.txt @@ -3,7 +3,7 @@ qt_internal_add_test(q3dsurface tst_surface.cpp INCLUDE_DIRECTORIES ../common - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::GuiPrivate Qt::DataVisualization diff --git a/tests/auto/cpptest/q3dtheme/CMakeLists.txt b/tests/auto/cpptest/q3dtheme/CMakeLists.txt index 29c1ff21..8b1d4399 100644 --- a/tests/auto/cpptest/q3dtheme/CMakeLists.txt +++ b/tests/auto/cpptest/q3dtheme/CMakeLists.txt @@ -1,7 +1,7 @@ qt_internal_add_test(q3dtheme SOURCES tst_theme.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::DataVisualization ) diff --git a/tests/auto/qmltest/CMakeLists.txt b/tests/auto/qmltest/CMakeLists.txt index 3a53e40f..bf46e9ad 100644 --- a/tests/auto/qmltest/CMakeLists.txt +++ b/tests/auto/qmltest/CMakeLists.txt @@ -7,7 +7,7 @@ qt_internal_add_test(tst_qmltest QMLTEST SOURCES tst_qmltest.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui TESTDATA ${test_data} ) -- cgit v1.2.3