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
|
qt_internal_add_test(tst_client
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_client.cpp
|
tst_client.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
SharedClientTest
|
SharedClientTest
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
qt_internal_add_test(tst_clientextension
|
qt_internal_add_test(tst_clientextension
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_clientextension.cpp
|
tst_clientextension.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
SharedClientTest
|
SharedClientTest
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -10,6 +10,6 @@
|
|||||||
qt_internal_add_test(tst_datadevicev1
|
qt_internal_add_test(tst_datadevicev1
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_datadevicev1.cpp
|
tst_datadevicev1.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
SharedClientTest
|
SharedClientTest
|
||||||
)
|
)
|
||||||
|
@ -10,6 +10,6 @@
|
|||||||
qt_internal_add_test(tst_client_fullscreenshellv1
|
qt_internal_add_test(tst_client_fullscreenshellv1
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_fullscreenshellv1.cpp
|
tst_fullscreenshellv1.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
SharedClientTest
|
SharedClientTest
|
||||||
)
|
)
|
||||||
|
@ -10,6 +10,6 @@
|
|||||||
qt_internal_add_test(tst_inputcontext
|
qt_internal_add_test(tst_inputcontext
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_inputcontext.cpp
|
tst_inputcontext.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
SharedClientTest
|
SharedClientTest
|
||||||
)
|
)
|
||||||
|
@ -10,6 +10,6 @@
|
|||||||
qt_internal_add_test(tst_multithreaded
|
qt_internal_add_test(tst_multithreaded
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_multithreaded.cpp
|
tst_multithreaded.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
SharedClientTest
|
SharedClientTest
|
||||||
)
|
)
|
||||||
|
@ -10,6 +10,6 @@
|
|||||||
qt_internal_add_test(tst_nooutput
|
qt_internal_add_test(tst_nooutput
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_nooutput.cpp
|
tst_nooutput.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
SharedClientTest
|
SharedClientTest
|
||||||
)
|
)
|
||||||
|
@ -10,6 +10,6 @@
|
|||||||
qt_internal_add_test(tst_output
|
qt_internal_add_test(tst_output
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_output.cpp
|
tst_output.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
SharedClientTest
|
SharedClientTest
|
||||||
)
|
)
|
||||||
|
@ -10,6 +10,6 @@
|
|||||||
qt_internal_add_test(tst_primaryselectionv1
|
qt_internal_add_test(tst_primaryselectionv1
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_primaryselectionv1.cpp
|
tst_primaryselectionv1.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
SharedClientTest
|
SharedClientTest
|
||||||
)
|
)
|
||||||
|
@ -10,6 +10,6 @@
|
|||||||
qt_internal_add_test(tst_seat
|
qt_internal_add_test(tst_seat
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_seat.cpp
|
tst_seat.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
SharedClientTest
|
SharedClientTest
|
||||||
)
|
)
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
qt_internal_add_test(tst_seatv4
|
qt_internal_add_test(tst_seatv4
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_seatv4.cpp
|
tst_seatv4.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
SharedClientTest
|
SharedClientTest
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ qt_internal_add_test(tst_seatv4
|
|||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
qt_internal_extend_target(tst_seatv4 CONDITION QT_FEATURE_cursor
|
qt_internal_extend_target(tst_seatv4 CONDITION QT_FEATURE_cursor
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::GuiPrivate
|
Qt::GuiPrivate
|
||||||
Wayland::Cursor
|
Wayland::Cursor
|
||||||
)
|
)
|
||||||
|
@ -10,6 +10,6 @@
|
|||||||
qt_internal_add_test(tst_surface
|
qt_internal_add_test(tst_surface
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_surface.cpp
|
tst_surface.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
SharedClientTest
|
SharedClientTest
|
||||||
)
|
)
|
||||||
|
@ -10,6 +10,6 @@
|
|||||||
qt_internal_add_test(tst_tabletv2
|
qt_internal_add_test(tst_tabletv2
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_tabletv2.cpp
|
tst_tabletv2.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
SharedClientTest
|
SharedClientTest
|
||||||
)
|
)
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
qt_internal_add_test(tst_wlconnect
|
qt_internal_add_test(tst_wlconnect
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_wlconnect.cpp
|
tst_wlconnect.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
Qt::GuiPrivate
|
Qt::GuiPrivate
|
||||||
)
|
)
|
||||||
|
@ -10,6 +10,6 @@
|
|||||||
qt_internal_add_test(tst_xdgdecorationv1
|
qt_internal_add_test(tst_xdgdecorationv1
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_xdgdecorationv1.cpp
|
tst_xdgdecorationv1.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
SharedClientTest
|
SharedClientTest
|
||||||
)
|
)
|
||||||
|
@ -10,6 +10,6 @@
|
|||||||
qt_internal_add_test(tst_xdgoutput
|
qt_internal_add_test(tst_xdgoutput
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_xdgoutput.cpp
|
tst_xdgoutput.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
SharedClientTest
|
SharedClientTest
|
||||||
)
|
)
|
||||||
|
@ -10,6 +10,6 @@
|
|||||||
qt_internal_add_test(tst_xdgshell
|
qt_internal_add_test(tst_xdgshell
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_xdgshell.cpp
|
tst_xdgshell.cpp
|
||||||
PUBLIC_LIBRARIES
|
LIBRARIES
|
||||||
SharedClientTest
|
SharedClientTest
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user