CMake: Don't use PUBLIC_LIBRARIES for tests and test helpers
Change-Id: I95f27e29fdee60acecba4fbba9b1b77c1680cee5 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
parent
959134c4de
commit
8ec60005f4
@ -10,7 +10,7 @@
|
||||
qt_internal_add_test(tst_client
|
||||
SOURCES
|
||||
tst_client.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
LIBRARIES
|
||||
SharedClientTest
|
||||
)
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
qt_internal_add_test(tst_clientextension
|
||||
SOURCES
|
||||
tst_clientextension.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
LIBRARIES
|
||||
SharedClientTest
|
||||
)
|
||||
|
||||
|
@ -10,6 +10,6 @@
|
||||
qt_internal_add_test(tst_datadevicev1
|
||||
SOURCES
|
||||
tst_datadevicev1.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
LIBRARIES
|
||||
SharedClientTest
|
||||
)
|
||||
|
@ -10,6 +10,6 @@
|
||||
qt_internal_add_test(tst_client_fullscreenshellv1
|
||||
SOURCES
|
||||
tst_fullscreenshellv1.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
LIBRARIES
|
||||
SharedClientTest
|
||||
)
|
||||
|
@ -10,6 +10,6 @@
|
||||
qt_internal_add_test(tst_inputcontext
|
||||
SOURCES
|
||||
tst_inputcontext.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
LIBRARIES
|
||||
SharedClientTest
|
||||
)
|
||||
|
@ -10,6 +10,6 @@
|
||||
qt_internal_add_test(tst_multithreaded
|
||||
SOURCES
|
||||
tst_multithreaded.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
LIBRARIES
|
||||
SharedClientTest
|
||||
)
|
||||
|
@ -10,6 +10,6 @@
|
||||
qt_internal_add_test(tst_nooutput
|
||||
SOURCES
|
||||
tst_nooutput.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
LIBRARIES
|
||||
SharedClientTest
|
||||
)
|
||||
|
@ -10,6 +10,6 @@
|
||||
qt_internal_add_test(tst_output
|
||||
SOURCES
|
||||
tst_output.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
LIBRARIES
|
||||
SharedClientTest
|
||||
)
|
||||
|
@ -10,6 +10,6 @@
|
||||
qt_internal_add_test(tst_primaryselectionv1
|
||||
SOURCES
|
||||
tst_primaryselectionv1.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
LIBRARIES
|
||||
SharedClientTest
|
||||
)
|
||||
|
@ -10,6 +10,6 @@
|
||||
qt_internal_add_test(tst_seat
|
||||
SOURCES
|
||||
tst_seat.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
LIBRARIES
|
||||
SharedClientTest
|
||||
)
|
||||
|
@ -10,7 +10,7 @@
|
||||
qt_internal_add_test(tst_seatv4
|
||||
SOURCES
|
||||
tst_seatv4.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
LIBRARIES
|
||||
SharedClientTest
|
||||
)
|
||||
|
||||
@ -18,7 +18,7 @@ qt_internal_add_test(tst_seatv4
|
||||
#####################################################################
|
||||
|
||||
qt_internal_extend_target(tst_seatv4 CONDITION QT_FEATURE_cursor
|
||||
PUBLIC_LIBRARIES
|
||||
LIBRARIES
|
||||
Qt::GuiPrivate
|
||||
Wayland::Cursor
|
||||
)
|
||||
|
@ -10,6 +10,6 @@
|
||||
qt_internal_add_test(tst_surface
|
||||
SOURCES
|
||||
tst_surface.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
LIBRARIES
|
||||
SharedClientTest
|
||||
)
|
||||
|
@ -10,6 +10,6 @@
|
||||
qt_internal_add_test(tst_tabletv2
|
||||
SOURCES
|
||||
tst_tabletv2.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
LIBRARIES
|
||||
SharedClientTest
|
||||
)
|
||||
|
@ -10,7 +10,7 @@
|
||||
qt_internal_add_test(tst_wlconnect
|
||||
SOURCES
|
||||
tst_wlconnect.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::GuiPrivate
|
||||
)
|
||||
|
@ -10,6 +10,6 @@
|
||||
qt_internal_add_test(tst_xdgdecorationv1
|
||||
SOURCES
|
||||
tst_xdgdecorationv1.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
LIBRARIES
|
||||
SharedClientTest
|
||||
)
|
||||
|
@ -10,6 +10,6 @@
|
||||
qt_internal_add_test(tst_xdgoutput
|
||||
SOURCES
|
||||
tst_xdgoutput.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
LIBRARIES
|
||||
SharedClientTest
|
||||
)
|
||||
|
@ -10,6 +10,6 @@
|
||||
qt_internal_add_test(tst_xdgshell
|
||||
SOURCES
|
||||
tst_xdgshell.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
LIBRARIES
|
||||
SharedClientTest
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user