diff --git a/plugins/git/tests/CMakeLists.txt b/plugins/git/tests/CMakeLists.txt index 6296ccd321..b6e3439cca 100644 --- a/plugins/git/tests/CMakeLists.txt +++ b/plugins/git/tests/CMakeLists.txt @@ -1,32 +1,34 @@ # Due to the use of system() and some unix-style paths this test will only run # under Linux. (Maybe this can be fixed later) # # Moreover, I'm not sure if there is a cvs commandline client for windows # (need to check this out ...) if (UNIX) # Running the test only makes sense if the git command line client # is present. So check for it before adding the test... FIND_PROGRAM(GIT NAMES git PATHS /bin /usr/bin /usr/local/bin ) if (GIT) set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) set(gitInitTest_SRCS initTest.cpp ../gitplugin.cpp) kde4_add_unit_test(kdevgit-test ${gitInitTest_SRCS}) - target_link_libraries(kdevgit-test - ${QT_QTTEST_LIBRARY} - ${KDE4_KDECORE_LIBS} + target_link_libraries(kdevgit-test + ${QT_QTTEST_LIBRARY} + ${KDE4_KDECORE_LIBS} + kdevplatformshell + kdevplatforminterfaces kdevplatformutil kdevplatformvcs kdevplatformtestshell - ) + ) endif (GIT) endif (UNIX) diff --git a/plugins/mercurial/tests/CMakeLists.txt b/plugins/mercurial/tests/CMakeLists.txt index 5e19f97cdc..d7edc398a2 100644 --- a/plugins/mercurial/tests/CMakeLists.txt +++ b/plugins/mercurial/tests/CMakeLists.txt @@ -1,31 +1,33 @@ # Due to the use of system() and some unix-style paths this test will only run # under Linux. (Maybe this can be fixed later) # # Moreover, I'm not sure if there is a cvs commandline client for windows # (need to check this out ...) if (UNIX) # Running the test only makes sense if the mercurial command line client # is present. So check for it before adding the test... FIND_PROGRAM(MERCURIAL NAMES hg PATHS /bin /usr/bin /usr/local/bin ) if (MERCURIAL) set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) set(mercurialInitTest_SRCS initTest.cpp ../mercurialplugin.cpp) kde4_add_unit_test(kdevmercurial-test ${mercurialInitTest_SRCS}) target_link_libraries(kdevmercurial-test ${QT_QTTEST_LIBRARY} ${KDE4_KDECORE_LIBS} + kdevplatformshell + kdevplatforminterfaces kdevplatformutil kdevplatformvcs kdevplatformtestshell ) endif (MERCURIAL) endif (UNIX) diff --git a/plugins/snippet/CMakeLists.txt b/plugins/snippet/CMakeLists.txt index f695de2f7f..71eeec8888 100644 --- a/plugins/snippet/CMakeLists.txt +++ b/plugins/snippet/CMakeLists.txt @@ -1,35 +1,35 @@ add_definitions( -DKDE_DEFAULT_DEBUG_AREA=9521 ) ########### next target ############### set(kdevsnippet_PART_SRCS snippetplugin.cpp snippetview.cpp snippetvariablesubst.cpp snippetvariablemodel.cpp snippetstore.cpp snippetrepository.cpp snippetfilterproxymodel.cpp snippetcompletionmodel.cpp snippet.cpp moverepository.cpp editsnippet.cpp ) set(kdevsnippet_PART_UI snippetview.ui snippetvariablesubst.ui editsnippet.ui addrepository.ui ) kde4_add_ui_files(kdevsnippet_PART_SRCS ${kdevsnippet_PART_UI}) kde4_add_plugin(kdevsnippet ${kdevsnippet_PART_SRCS}) -target_link_libraries(kdevsnippet ${KDE4_KDEUI_LIBS} ${KDE4_KTEXTEDITOR_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KPARTS_LIBS} kdevplatforminterfaces) +target_link_libraries(kdevsnippet ${KDE4_KTEXTEDITOR_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KPARTS_LIBS} kdevplatforminterfaces) install( TARGETS kdevsnippet DESTINATION ${PLUGIN_INSTALL_DIR} ) ########### install files ############### install( FILES kdevsnippet.desktop DESTINATION ${SERVICES_INSTALL_DIR} )