From 6082ebfaa4be227676b59a5c75ff13aa9b5797ea Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Thu, 19 Jul 2012 20:01:00 -0400 Subject: [PATCH] Fix Linking by adding QtCore and QtGUI libs CCMAIL: mgraesslin@kde.org --- tests/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 33042c6dad..36e32a8c78 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -9,7 +9,7 @@ target_link_libraries( testUpdateKWin49 ${KDE4_KDECORE_LIBS} ${QT_QTTEST_LIBRARY set( testScreenPaintData_SRCS test_screen_paint_data.cpp ) 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 @@ -17,4 +17,4 @@ target_link_libraries( testScreenPaintData kwineffects ${QT_QTTEST_LIBRARY} ) set( testWindowPaintData_SRCS test_window_paint_data.cpp ) 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} )