plasma-framework/kpart/CMakeLists.txt
Kevin Ottens 540606d0ed Doesn't need to link on knewstuff2.
svn path=/trunk/KDE/kdebase/runtime/; revision=1190279
2010-10-27 10:14:53 +00:00

24 lines
750 B
CMake

set(plasma_kpartscripting_SRCS
scripting/layouttemplatepackagestructure.cpp
scripting/rect.cpp
scripting/scriptengine.cpp
scripting/widget.cpp
)
set(plasma_kpart_SRCS
${plasma_kpartscripting_SRCS}
plasmakpartcorona.cpp
plasmakpartview.cpp
plasmakpart.cpp
)
kde4_add_plugin(plasma-kpart ${plasma_kpart_SRCS})
target_link_libraries(plasma-kpart ${QT_QTSCRIPT_LIBRARY} ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS} ${X11_LIBRARIES} ${KDE4_KFILE_LIBS} ${KDE4_KPARTS_LIBS} )
install(TARGETS plasma-kpart DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES plasma-kpart.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES plasmakpart.h plasmakpartview.h plasmakpartcorona.h DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel )