mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-25 19:32:52 +00:00

since plasma-default-layoutrc can be used to setup the desktop there is no reason to wrap the first launch around Javascript code
21 lines
583 B
CMake
21 lines
583 B
CMake
|
|
set(plasma_kpartscripting_SRCS
|
|
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})
|
|
|