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.
55 lines
1.2 KiB
55 lines
1.2 KiB
#################################################
|
|
#
|
|
# (C) 2021 Michele Calgaro
|
|
# Michele (DOT) Calgaro (AT) yahoo.it
|
|
#
|
|
# Improvements and feedback are welcome
|
|
#
|
|
# This file is released under GPL >= 2
|
|
#
|
|
#################################################
|
|
|
|
include_directories(
|
|
${CMAKE_SOURCE_DIR}
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${TQT_INCLUDE_DIRS}
|
|
${POLKIT_GOBJECT_INCLUDE_DIRS}
|
|
)
|
|
|
|
link_directories(
|
|
${TQT_LIBRARY_DIRS}
|
|
${POLKIT_GOBJECT_LIBRARY_DIRS}
|
|
)
|
|
|
|
|
|
##### install headers ###########################
|
|
|
|
install(
|
|
FILES
|
|
polkit-tqt-actiondescription.h
|
|
polkit-tqt-authority.h
|
|
polkit-tqt-details.h
|
|
polkit-tqt-identity.h
|
|
polkit-tqt-subject.h
|
|
polkit-tqt-temporaryauthorization.h
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/${CMAKE_PROJECT_NAME}
|
|
)
|
|
|
|
|
|
##### polkit-tqt-core (shared) #########################
|
|
|
|
tde_add_library( polkit-tqt-core SHARED AUTOMOC
|
|
SOURCES
|
|
polkit-tqt-actiondescription.cpp
|
|
polkit-tqt-authority.cpp
|
|
polkit-tqt-details.cpp
|
|
polkit-tqt-identity.cpp
|
|
polkit-tqt-subject.cpp
|
|
polkit-tqt-temporaryauthorization.cpp
|
|
VERSION 0.0.0
|
|
LINK ${TQT_LIBRARIES}
|
|
LINK_PRIVATE ${POLKIT_GOBJECT_LIBRARIES}
|
|
DESTINATION ${LIB_INSTALL_DIR}
|
|
)
|