Some improvements to cmake files.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
r14.0.x
Michele Calgaro 2 years ago
parent c69accc7cf
commit f853395673
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -47,7 +47,6 @@ option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden"
##### user requested modules ##### user requested modules
option( BUILD_ALL "Build all" ON ) option( BUILD_ALL "Build all" ON )
#option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} ) option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
@ -72,7 +71,6 @@ add_subdirectory( src )
##### other data ################################ ##### other data ################################
#tde_conditional_add_project_docs( BUILD_DOC )
tde_conditional_add_project_translations( BUILD_TRANSLATIONS ) tde_conditional_add_project_translations( BUILD_TRANSLATIONS )

@ -9,6 +9,7 @@
# #
################################################# #################################################
tde_import( polkit-tqt )
include_directories( include_directories(
${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}
@ -37,6 +38,6 @@ tde_create_translated_desktop(
tde_add_executable( polkit-agent-tde AUTOMOC tde_add_executable( polkit-agent-tde AUTOMOC
SOURCES AuthDialogWidget.ui AuthDetailsWidget.ui AuthDialog.h AuthDialog.cpp SOURCES AuthDialogWidget.ui AuthDetailsWidget.ui AuthDialog.h AuthDialog.cpp
polkit-listener.h polkit-listener.cpp polkit-agent-tde.h polkit-agent-tde.cpp main.cpp polkit-listener.h polkit-listener.cpp polkit-agent-tde.h polkit-agent-tde.cpp main.cpp
LINK tdecore-shared tdeui-shared polkit-tqt-core polkit-tqt-agent LINK tdecore-shared tdeui-shared polkit-tqt-agent-shared
DESTINATION ${BIN_INSTALL_DIR} DESTINATION ${BIN_INSTALL_DIR}
) )

Loading…
Cancel
Save