mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 19:02:51 +00:00

see the previous commit, also fixes detection of programs that are automatically started by using KStandardDirs to find the autostart directories Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
26 lines
535 B
CMake
26 lines
535 B
CMake
project(autostart)
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR})
|
|
|
|
########### next target ###############
|
|
|
|
set(kcm_autostart_PART_SRCS
|
|
autostartitem.cpp
|
|
advanceddialog.cpp
|
|
autostart.cpp
|
|
)
|
|
|
|
kde4_add_plugin(kcm_autostart ${kcm_autostart_PART_SRCS})
|
|
|
|
target_link_libraries(kcm_autostart ${KDE4_KIO_LIBS})
|
|
|
|
########### install files ###############
|
|
|
|
install(
|
|
TARGETS kcm_autostart
|
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
|
|
)
|
|
install(
|
|
FILES autostart.desktop
|
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
|
|
)
|