summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-07-26 18:01:34 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2022-07-27 11:43:17 +0200
commitd4934b19a6a9310c11c144b74aafe40070a140e7 (patch)
treebbd73a206d83be609f65d3c6aba59b9eb0e4e814 /tests
parent5013ba76700fa79a9568ca19a16667b050f51b12 (diff)
downloadqtactiveqt-d4934b19a6a9310c11c144b74aafe40070a140e7.tar.gz
CMake: Don't use PUBLIC_LIBRARIES for tests and test helpers
Change-Id: I7bd3d18c7f77a6b058bc08081e7adb310ebd1f2c Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/conversion/CMakeLists.txt2
-rw-r--r--tests/auto/dumpcpp/CMakeLists.txt2
-rw-r--r--tests/auto/qaxobject/CMakeLists.txt2
-rw-r--r--tests/auto/qaxscript/CMakeLists.txt2
-rw-r--r--tests/manual/axviewer/CMakeLists.txt10
-rw-r--r--tests/manual/dumpcpp/CMakeLists.txt2
-rw-r--r--tests/manual/testcontrol/CMakeLists.txt2
7 files changed, 11 insertions, 11 deletions
diff --git a/tests/auto/conversion/CMakeLists.txt b/tests/auto/conversion/CMakeLists.txt
index 79186b9..bcabdf4 100644
--- a/tests/auto/conversion/CMakeLists.txt
+++ b/tests/auto/conversion/CMakeLists.txt
@@ -10,7 +10,7 @@
qt_internal_add_test(conversion # special case
SOURCES
tst_conversion.cpp
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::AxContainer
Qt::Gui
)
diff --git a/tests/auto/dumpcpp/CMakeLists.txt b/tests/auto/dumpcpp/CMakeLists.txt
index 3ea5f91..404f6de 100644
--- a/tests/auto/dumpcpp/CMakeLists.txt
+++ b/tests/auto/dumpcpp/CMakeLists.txt
@@ -10,7 +10,7 @@
qt_internal_add_test(tst_dumpcpp
SOURCES
tst_dumpcpp.cpp
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::AxContainer
Qt::Gui
Qt::Widgets
diff --git a/tests/auto/qaxobject/CMakeLists.txt b/tests/auto/qaxobject/CMakeLists.txt
index 1f8612b..90b62fe 100644
--- a/tests/auto/qaxobject/CMakeLists.txt
+++ b/tests/auto/qaxobject/CMakeLists.txt
@@ -10,7 +10,7 @@
qt_internal_add_test(qaxobject # special case
SOURCES
tst_qaxobject.cpp
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::AxContainer
Qt::Gui
)
diff --git a/tests/auto/qaxscript/CMakeLists.txt b/tests/auto/qaxscript/CMakeLists.txt
index 54b2953..825c5fe 100644
--- a/tests/auto/qaxscript/CMakeLists.txt
+++ b/tests/auto/qaxscript/CMakeLists.txt
@@ -10,6 +10,6 @@
qt_internal_add_test(qaxscript # special case
SOURCES
tst_qaxscript.cpp
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::AxContainer
)
diff --git a/tests/manual/axviewer/CMakeLists.txt b/tests/manual/axviewer/CMakeLists.txt
index 6baf11f..d6b4903 100644
--- a/tests/manual/axviewer/CMakeLists.txt
+++ b/tests/manual/axviewer/CMakeLists.txt
@@ -14,7 +14,7 @@ qt_internal_add_manual_test(tst_axviewer_manual # special case
main.cpp
INCLUDE_DIRECTORIES
../shared
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::AxContainer
Qt::Gui
Qt::Widgets
@@ -39,7 +39,7 @@ qt_internal_extend_target(tst_axviewer_manual CONDITION EXISTS "${diaglib_path}"
QT_DIAG_LIB
INCLUDE_DIRECTORIES
"${diaglib_path}"
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::CorePrivate
Qt::GuiPrivate
)
@@ -47,7 +47,7 @@ qt_internal_extend_target(tst_axviewer_manual CONDITION EXISTS "${diaglib_path}"
qt_internal_extend_target(tst_axviewer_manual CONDITION (EXISTS "${diaglib_path}") AND (WIN32)
SOURCES
"${diaglib_path}/nativewindowdump_win.cpp"
- PUBLIC_LIBRARIES
+ LIBRARIES
user32
)
@@ -62,7 +62,7 @@ qt_internal_extend_target(tst_axviewer_manual CONDITION (EXISTS "${diaglib_path}
"${diaglib_path}/debugproxystyle.cpp" "${diaglib_path}/debugproxystyle.h"
"${diaglib_path}/logwidget.cpp" "${diaglib_path}/logwidget.h"
"${diaglib_path}/qwidgetdump.cpp" "${diaglib_path}/qwidgetdump.h"
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::WidgetsPrivate
)
@@ -70,7 +70,7 @@ qt_internal_extend_target(tst_axviewer_manual CONDITION (EXISTS "${diaglib_path}
TARGET Qt::OpenGL AND TARGET Qt::OpenGLWidgets
SOURCES
"${diaglib_path}/glinfo.cpp" "${diaglib_path}/glinfo.h"
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::OpenGL
Qt::OpenGLWidgets
)
diff --git a/tests/manual/dumpcpp/CMakeLists.txt b/tests/manual/dumpcpp/CMakeLists.txt
index e04dabb..22c3b12 100644
--- a/tests/manual/dumpcpp/CMakeLists.txt
+++ b/tests/manual/dumpcpp/CMakeLists.txt
@@ -14,7 +14,7 @@ qt_internal_add_manual_test(tst_dumpcpp_manual # special case
main.cpp
INCLUDE_DIRECTORIES
../shared
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::AxContainer
Qt::Gui
Qt::Test
diff --git a/tests/manual/testcontrol/CMakeLists.txt b/tests/manual/testcontrol/CMakeLists.txt
index 7d5f688..1a704fe 100644
--- a/tests/manual/testcontrol/CMakeLists.txt
+++ b/tests/manual/testcontrol/CMakeLists.txt
@@ -12,7 +12,7 @@ qt_internal_add_manual_test(tst_testcontrol_manual # special case
SOURCES
main.cpp
testcontrol.rc
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::AxServer
Qt::Gui
Qt::Widgets