* do not link anymore against QT_QT3SUPPORT_LIBRARY

* cleanup cmake script

svn path=/trunk/KDE/kdebase/apps/; revision=752471
This commit is contained in:
Urs Wolfer 2007-12-24 14:58:38 +00:00
parent 8c259191e7
commit f21a3831dd

View file

@ -1,22 +1,13 @@
set(kwrite_KDEINIT_SRCS kwritemain.cpp)
kde4_add_kdeinit_executable(kwrite ${kwrite_KDEINIT_SRCS})
target_link_libraries(kdeinit_kwrite ${KDE4_KTEXTEDITOR_LIBS} ${KDE4_KIO_LIBS})
########### next target ###############
install(TARGETS kdeinit_kwrite DESTINATION ${LIB_INSTALL_DIR})
set(kwrite_KDEINIT_SRCS kwritemain.cpp )
target_link_libraries(kwrite kdeinit_kwrite)
kde4_add_kdeinit_executable( kwrite ${kwrite_KDEINIT_SRCS})
target_link_libraries(kdeinit_kwrite ${KDE4_KTEXTEDITOR_LIBS} ${QT_QT3SUPPORT_LIBRARY} ${QT_QTGUI_LIBRARY} ${KDE4_KIO_LIBS})
install(TARGETS kdeinit_kwrite DESTINATION ${LIB_INSTALL_DIR})
target_link_libraries( kwrite kdeinit_kwrite )
install(TARGETS kwrite DESTINATION ${BIN_INSTALL_DIR})
########### install files ###############
install( FILES kwrite.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( FILES kwriteui.rc DESTINATION ${DATA_INSTALL_DIR}/kwrite )
install(FILES kwrite.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(FILES kwriteui.rc DESTINATION ${DATA_INSTALL_DIR}/kwrite)