add an option to build kcm-autostart, set by 'OFF' as default

Signed-off-by: gregory guy <g-gregory@gmx.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
gregory guy 6 years ago committed by Slávek Banko
parent fcf89e1e2e
commit e208e9cac8
Signed by: SlavekB
GPG Key ID: 608F5293A04BE668

@ -50,6 +50,8 @@ option( BUILD_ALL "Build all" ON )
option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
option( BUILD_KCM_AUTOSTART "Build kcm autostart" OFF )
##### configure checks

@ -1,5 +1,3 @@
add_subdirectory( kcms )
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
@ -91,3 +89,8 @@ install(
FILES kiosktool.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)
###### kcm modules
add_subdirectory( kcms )

@ -1 +1 @@
add_subdirectory( autostart )
tde_conditional_add_subdirectory( BUILD_KCM_AUTOSTART autostart )

@ -12,6 +12,19 @@ link_directories(
)
##### warning of possible collision
message( AUTHOR_WARNING
" \n"
" ---------------------------------------------------------- \n"
" *** NOTE *** \n"
" The build of kcm autostart module is not recommended \n"
" because there is also a separate kcm-autostart application \n"
" with which the module would be in collision. \n"
" ---------------------------------------------------------- \n"
)
##### kcm_autostart (kpart)
tde_add_kpart( kcm_autostart AUTOMOC

Loading…
Cancel
Save