-use ${KDE4_KDESU_LIBS} instead of kdesu when linking

-rename the target kdesu to kdese_executable, and use the OUTPUT_NAME property to give it the original name "kdesu"

Alex

svn path=/trunk/KDE/kdebase/kdepasswd/; revision=527095
This commit is contained in:
Alexander Neundorf 2006-04-06 20:27:46 +00:00
parent 100e1f909e
commit 6d77074dcc
3 changed files with 2 additions and 3 deletions

View file

@ -18,7 +18,7 @@ kde4_add_plugin(kcm_useraccount ${kcm_useraccount_PART_SRCS})
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kcm_useraccount )
target_link_libraries(kcm_useraccount konq ${KDE4_KDE3SUPPORT_LIBS} kdesu)
target_link_libraries(kcm_useraccount konq ${KDE4_KDE3SUPPORT_LIBS} ${KDE4_KDESU_LIBS} )
install_targets(${LIB_INSTALL_DIR}/kde4 kcm_useraccount )

View file

@ -12,7 +12,7 @@ kde4_add_plugin(konq_shellcmdplugin ${konq_shellcmdplugin_PART_SRCS})
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} konq_shellcmdplugin )
target_link_libraries(konq_shellcmdplugin ${KDE4_KDECORE_LIBS} konq kdesu)
target_link_libraries(konq_shellcmdplugin ${KDE4_KDECORE_LIBS} konq ${KDE4_KDESU_LIBS})
install_targets(${LIB_INSTALL_DIR}/kde4 konq_shellcmdplugin )

View file

@ -5,7 +5,6 @@ project(libkonq)
add_subdirectory( pics )
add_subdirectory( favicons )
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${ZLIB_INCLUDE_DIR} ${KDE4_INCLUDES} )