summaryrefslogtreecommitdiffstats
path: root/agent
diff options
context:
space:
mode:
Diffstat (limited to 'agent')
-rw-r--r--agent/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/agent/CMakeLists.txt b/agent/CMakeLists.txt
index 6f2b74948..ea50d6b51 100644
--- a/agent/CMakeLists.txt
+++ b/agent/CMakeLists.txt
@@ -30,20 +30,21 @@ install(
FILES
polkit-tqt-agent-session.h
polkit-tqt-agent-listener.h
- DESTINATION ${INCLUDE_INSTALL_DIR}
+ DESTINATION ${INCLUDE_INSTALL_DIR}/${CMAKE_PROJECT_NAME}
)
##### polkit-tqt-agent (shared) #########################
tde_add_library( polkit-tqt-agent SHARED AUTOMOC
- SOURCES ${polkit_tqt_agent_MOCS}
+ SOURCES
polkit-tqt-agent-session.cpp
polkit-tqt-agent-listener.cpp
listeneradapter.cpp
polkit-tqt-listener.cpp
VERSION 0.0.0
CXX_FEATURES cxx_nullptr
- LINK ${TQT_LIBRARIES} ${POLKIT_GOBJECT_LIBRARIES} ${POLKIT_AGENT_LIBRARIES} polkit-tqt-core-shared
+ LINK polkit-tqt-core-shared
+ LINK_PRIVATE ${POLKIT_GOBJECT_LIBRARIES} ${POLKIT_AGENT_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)