more link line fixes

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826274
This commit is contained in:
Dirk Mueller 2008-06-30 09:40:15 +00:00
parent 135d5c8ac6
commit 1fc493c0c7

View File

@ -90,13 +90,16 @@ kde4_add_library(plasma SHARED ${plasma_LIB_SRCS})
target_link_libraries(plasma ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS} ${KDE4_KNEWSTUFF2_LIBS} target_link_libraries(plasma ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS} ${KDE4_KNEWSTUFF2_LIBS}
${QT_QTUITOOLS_LIBRARY} ${QT_QTWEBKIT_LIBRARY} ${QT_QTUITOOLS_LIBRARY} ${QT_QTWEBKIT_LIBRARY}
${KDE4_THREADWEAVER_LIBRARIES}) ${KDE4_THREADWEAVER_LIBRARIES} ${KDE4_SOLID_LIBS})
if(QT_QTOPENGL_FOUND AND OPENGL_FOUND) if(QT_QTOPENGL_FOUND AND OPENGL_FOUND)
target_link_libraries(plasma ${QT_QTOPENGL_LIBRARY} ${OPENGL_gl_LIBRARY}) target_link_libraries(plasma ${QT_QTOPENGL_LIBRARY} ${OPENGL_gl_LIBRARY})
endif(QT_QTOPENGL_FOUND AND OPENGL_FOUND) endif(QT_QTOPENGL_FOUND AND OPENGL_FOUND)
set_target_properties(plasma PROPERTIES VERSION 2.0.0 SOVERSION 2) set_target_properties(plasma PROPERTIES VERSION 2.0.0 SOVERSION 2)
kde4_target_link_interface_libraries(plasma "${KDE4_KDEUI_LIBS}")
install(TARGETS plasma ${INSTALL_TARGETS_DEFAULT_ARGS}) install(TARGETS plasma ${INSTALL_TARGETS_DEFAULT_ARGS})