summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-07-27 17:46:55 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2022-07-28 11:32:52 +0200
commit8a05cb528b87341271a1397329797896d085a0b4 (patch)
tree90e55d0ce1b0fa048a75b7c3a528c1fc6358994c /tests
parent4a12a4cc2d7c7f37c027c17149c243f57332c030 (diff)
CMake: Don't use PUBLIC_LIBRARIES for tests and test helpers
Change-Id: I9a48284bb1af2edee3d97635d1d7626dd697e777 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/postbuild/guiapplauncher/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/postbuild/guiapplauncher/CMakeLists.txt b/tests/postbuild/guiapplauncher/CMakeLists.txt
index 412c1d30..09a47d2c 100644
--- a/tests/postbuild/guiapplauncher/CMakeLists.txt
+++ b/tests/postbuild/guiapplauncher/CMakeLists.txt
@@ -13,7 +13,7 @@ qt_internal_add_test(tst_guiapplauncher
windowmanager.cpp windowmanager.h
DEFINES
SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\"
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::Gui
)
@@ -24,13 +24,13 @@ qt_internal_add_test(tst_guiapplauncher
#####################################################################
qt_internal_extend_target(tst_guiapplauncher CONDITION WIN32
- PUBLIC_LIBRARIES
+ LIBRARIES
user32
)
qt_internal_extend_target(tst_guiapplauncher CONDITION QT_FEATURE_xlib # special case
DEFINES
Q_WS_X11
- PUBLIC_LIBRARIES
+ LIBRARIES
X11
)