You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
903 B
CMake
33 lines
903 B
CMake
4 years ago
|
set(ACCOUNTS_SRCS
|
||
|
accountsmanager.cpp
|
||
|
accountsmanager.h
|
||
|
accountsmanager_p.h
|
||
|
useraccount.cpp
|
||
|
useraccount.h
|
||
|
useraccount_p.h
|
||
|
usersmodel.cpp
|
||
|
usersmodel.h
|
||
|
usersmodel_p.h
|
||
|
qmlplugins.cpp
|
||
|
)
|
||
|
|
||
|
qt5_add_dbus_interface(ACCOUNTS_SRCS
|
||
|
org.freedesktop.Accounts.User.xml
|
||
|
user_interface)
|
||
|
qt5_add_dbus_interface(ACCOUNTS_SRCS
|
||
|
org.freedesktop.Accounts.xml
|
||
|
accounts_interface)
|
||
|
|
||
|
# set_source_files_properties(${ACCOUNTS_SRCS} PROPERTIES SKIP_AUTOGEN ON)
|
||
|
|
||
|
add_library(cutefishaccounts_qmlplugins SHARED ${ACCOUNTS_SRCS})
|
||
|
|
||
|
target_link_libraries (cutefishaccounts_qmlplugins
|
||
|
Qt5::Core
|
||
|
Qt5::DBus
|
||
|
Qt5::Quick
|
||
|
Qt5::Gui
|
||
|
)
|
||
|
|
||
|
install(TARGETS cutefishaccounts_qmlplugins DESTINATION ${INSTALL_QMLDIR}/Cutefish/Accounts)
|
||
|
install(FILES qmldir DESTINATION ${INSTALL_QMLDIR}/Cutefish/Accounts)
|