Browse Source

Some improvements to cmake files.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 7 months ago
parent
commit
f853395673
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF
  1. 2
      CMakeLists.txt
  2. 3
      src/CMakeLists.txt

2
CMakeLists.txt

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

3
src/CMakeLists.txt

@ -9,6 +9,7 @@
#
#################################################
tde_import( polkit-tqt )
include_directories(
${CMAKE_SOURCE_DIR}
@ -37,6 +38,6 @@ tde_create_translated_desktop(
tde_add_executable( polkit-agent-tde AUTOMOC
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
LINK tdecore-shared tdeui-shared polkit-tqt-core polkit-tqt-agent
LINK tdecore-shared tdeui-shared polkit-tqt-agent-shared
DESTINATION ${BIN_INSTALL_DIR}
)

Loading…
Cancel
Save