You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
888 B
32 lines
888 B
include_directories(
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
set(polkit_tqt_core_SRCS
|
|
polkittqt1-authority.cpp
|
|
polkittqt1-identity.cpp
|
|
polkittqt1-subject.cpp
|
|
polkittqt1-temporaryauthorization.cpp
|
|
polkittqt1-details.cpp
|
|
polkittqt1-actiondescription.cpp
|
|
)
|
|
|
|
automoc4_add_library(polkit-tqt-core-1 SHARED ${polkit_tqt_core_SRCS})
|
|
|
|
target_link_libraries(polkit-tqt-core-1
|
|
${TQT_TQTCORE_LIBRARY}
|
|
${TQT_TQTDBUS_LIBRARY}
|
|
${TQT_TQTXML_LIBRARY}
|
|
${POLKIT_LIBRARIES}
|
|
${GLIB2_LIBRARIES}
|
|
${GOBJECT_LIBRARIES}
|
|
${GIO_LIBRARIES}
|
|
)
|
|
|
|
set_target_properties(polkit-tqt-core-1 PROPERTIES VERSION ${POLKITTQT-1_LIBRARY_VERSION}
|
|
SOVERSION ${POLKITTQT-1_ABI_VERSION}
|
|
DEFINE_SYMBOL MAKE_POLKITTQT1_LIB)
|
|
|
|
install(TARGETS polkit-tqt-core-1 ${INSTALL_TARGETS_DEFAULT_ARGS})
|