summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-01-13 11:11:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-01-13 11:11:43 +0900
commitf8533956739bea04e3436923d56ea04ca6c16511 (patch)
tree40fe68056a421269b9e8c8b555a37c7b175b4ca2
parentc69accc7cf28c4ede05687233a6d23d221905646 (diff)
downloadpolkit-agent-tde-f8533956739bea04e3436923d56ea04ca6c16511.tar.gz
polkit-agent-tde-f8533956739bea04e3436923d56ea04ca6c16511.zip
Some improvements to cmake files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/CMakeLists.txt3
2 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 422ba04..8722997 100644
--- a/CMakeLists.txt
+++ b/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 )
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index efbf17b..748e9e7 100644
--- a/src/CMakeLists.txt
+++ b/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}
)