Fix Linking by adding QtCore and QtGUI libs

CCMAIL: mgraesslin@kde.org
This commit is contained in:
Allen Winter 2012-07-19 20:01:00 -04:00
parent c7262e8bd3
commit 6082ebfaa4

View file

@ -9,7 +9,7 @@ target_link_libraries( testUpdateKWin49 ${KDE4_KDECORE_LIBS} ${QT_QTTEST_LIBRARY
set( testScreenPaintData_SRCS test_screen_paint_data.cpp ) set( testScreenPaintData_SRCS test_screen_paint_data.cpp )
kde4_add_unit_test( testScreenPaintData TESTNAME TestScreenPaintData ${testScreenPaintData_SRCS} ) kde4_add_unit_test( testScreenPaintData TESTNAME TestScreenPaintData ${testScreenPaintData_SRCS} )
target_link_libraries( testScreenPaintData kwineffects ${QT_QTTEST_LIBRARY} ) target_link_libraries( testScreenPaintData kwineffects ${QT_QTCORE_LIBRARY} ${QT_QTTEST_LIBRARY} )
######################################################## ########################################################
# Test WindowPaintData # Test WindowPaintData
@ -17,4 +17,4 @@ target_link_libraries( testScreenPaintData kwineffects ${QT_QTTEST_LIBRARY} )
set( testWindowPaintData_SRCS test_window_paint_data.cpp ) set( testWindowPaintData_SRCS test_window_paint_data.cpp )
kde4_add_unit_test( testWindowPaintData TESTNAME TestWindowPaintData ${testWindowPaintData_SRCS} ) kde4_add_unit_test( testWindowPaintData TESTNAME TestWindowPaintData ${testWindowPaintData_SRCS} )
target_link_libraries( testWindowPaintData kwineffects ${QT_QTTEST_LIBRARY} ) target_link_libraries( testWindowPaintData kwineffects ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTTEST_LIBRARY} )