|
|
|
include_directories(
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
set(polkit_tqt_agent_SRCS
|
|
|
|
polkittqt1-agent-session.cpp
|
|
|
|
polkittqt1-agent-listener.cpp
|
|
|
|
listeneradapter.cpp
|
|
|
|
polkittqtlistener.cpp
|
|
|
|
)
|
|
|
|
automoc4_add_library(polkit-tqt-agent-1 SHARED ${polkit_tqt_agent_SRCS})
|
|
|
|
|
|
|
|
target_link_libraries(polkit-tqt-agent-1
|
|
|
|
${POLKIT_LIBRARIES}
|
|
|
|
${TQT_TQTCORE_LIBRARY}
|
|
|
|
${POLKIT_AGENT_LIBRARY}
|
|
|
|
polkit-tqt-core-1
|
|
|
|
)
|
|
|
|
|
|
|
|
set_target_properties(polkit-tqt-agent-1 PROPERTIES VERSION ${POLKITTQT-1_LIBRARY_VERSION}
|
|
|
|
SOVERSION ${POLKITTQT-1_ABI_VERSION}
|
|
|
|
DEFINE_SYMBOL MAKE_POLKITTQT1_LIB)
|
|
|
|
|
|
|
|
install(TARGETS polkit-tqt-agent-1 ${INSTALL_TARGETS_DEFAULT_ARGS})
|