Commit patch from Alex

(He didn't have time to make it yesterday and will able to commit it next thursday)
This patch clean up some :
target_link_libraries(kfoo kdeinit_kfoo) which is already done in kde4_add_kdeinit_executable()
macro 	and use "INSTALL_TARGETS_DEFAULT_ARGS" in other place.
I tested all compile file, all works fine but if there is a pb send me a mail.

CCMAIL: neundorf@kde.org 

svn path=/trunk/KDE/kdebase/workspace/; revision=795711
This commit is contained in:
Laurent Montel 2008-04-11 06:52:03 +00:00
parent e36a1cecee
commit 778c869e40
2 changed files with 3 additions and 8 deletions

View file

@ -121,9 +121,7 @@ if (X11_Xfixes_FOUND)
endif (X11_Xfixes_FOUND)
install(TARGETS kdeinit_kwin ${INSTALL_TARGETS_DEFAULT_ARGS} )
target_link_libraries( kwin kdeinit_kwin )
install(TARGETS kwin DESTINATION ${BIN_INSTALL_DIR})
install(TARGETS kwin ${INSTALL_TARGETS_DEFAULT_ARGS} )
########### next target ###############

View file

@ -10,13 +10,10 @@ set(kwin_rules_dialog_KDEINIT_SRCS main.cpp ${kwinrules_SRCS})
kde4_add_kdeinit_executable( kwin_rules_dialog ${kwin_rules_dialog_KDEINIT_SRCS})
target_link_libraries(kdeinit_kwin_rules_dialog
${KDE4_KDEUI_LIBS} )
target_link_libraries(kdeinit_kwin_rules_dialog ${KDE4_KDEUI_LIBS} )
install(TARGETS kdeinit_kwin_rules_dialog ${INSTALL_TARGETS_DEFAULT_ARGS} )
target_link_libraries( kwin_rules_dialog kdeinit_kwin_rules_dialog )
install(TARGETS kwin_rules_dialog DESTINATION ${BIN_INSTALL_DIR})
install(TARGETS kwin_rules_dialog ${INSTALL_TARGETS_DEFAULT_ARGS} )
########### next target ###############