diff options
Diffstat (limited to 'agent/CMakeLists.txt')
-rw-r--r-- | agent/CMakeLists.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/agent/CMakeLists.txt b/agent/CMakeLists.txt new file mode 100644 index 000000000..80d1bd3b2 --- /dev/null +++ b/agent/CMakeLists.txt @@ -0,0 +1,25 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} +) + +set(polkit_qt_agent_SRCS + polkitqt1-agent-session.cpp + polkitqt1-agent-listener.cpp + listeneradapter.cpp + polkitqtlistener.cpp +) +automoc4_add_library(polkit-qt-agent-1 SHARED ${polkit_qt_agent_SRCS}) + +target_link_libraries(polkit-qt-agent-1 + ${POLKIT_LIBRARIES} + ${QT_QTCORE_LIBRARY} + ${POLKIT_AGENT_LIBRARY} + polkit-qt-core-1 +) + +set_target_properties(polkit-qt-agent-1 PROPERTIES VERSION ${POLKITQT-1_LIBRARY_VERSION} + SOVERSION ${POLKITQT-1_ABI_VERSION} + DEFINE_SYMBOL MAKE_POLKITQT1_LIB) + +install(TARGETS polkit-qt-agent-1 ${INSTALL_TARGETS_DEFAULT_ARGS}) |