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)