From 2b6eea985eb64f7b8459930d005ece83982f56a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Wed, 19 Jun 2013 02:51:59 +0200 Subject: [PATCH] use ecm macros for tests in qtextracomponents --- .../qtextracomponents/tests/CMakeLists.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/declarativeimports/qtextracomponents/tests/CMakeLists.txt b/src/declarativeimports/qtextracomponents/tests/CMakeLists.txt index e9b79ebfd..7e6071779 100644 --- a/src/declarativeimports/qtextracomponents/tests/CMakeLists.txt +++ b/src/declarativeimports/qtextracomponents/tests/CMakeLists.txt @@ -1,10 +1,15 @@ INCLUDE_DIRECTORIES(.. .) -kde4_add_unit_test(fullmodelaccesstest columnproxymodeltest.cpp ../columnproxymodel.cpp ../../core/tests/modeltest.cpp) +include(ECMMarkAsTest) + +add_executable(fullmodelaccesstest columnproxymodeltest.cpp ../columnproxymodel.cpp ../../core/tests/modeltest.cpp) target_link_libraries(fullmodelaccesstest ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTTEST_LIBRARY} ${KDE4_KDECORE_LIBS} - ${kde4support_LIBRARY} + KDE4__kde4support ) + +add_test(plasma-fullmodelaccesstest fullmodelaccesstest) +ecm_mark_as_test(fullmodelaccesstest)