2022-10-17 19:20:36 +08:00
|
|
|
project(uniauth-backend)
|
|
|
|
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${Qt5Core_INCLUDE_DIRS}
|
|
|
|
${Qt5DBus_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
|
|
|
|
set(bin_SRCS
|
|
|
|
${bin_SRCS}
|
|
|
|
src/main.cpp
|
|
|
|
src/biodeviceinfo.h
|
|
|
|
src/biodeviceinfo.cpp
|
|
|
|
src/serviceinterface.h
|
|
|
|
src/serviceinterface.cpp
|
|
|
|
src/servicemanager.h
|
|
|
|
src/servicemanager.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(uniauth-backend ${bin_SRCS})
|
2023-04-10 20:07:36 +08:00
|
|
|
target_link_libraries(uniauth-backend Qt5::Core Qt5::DBus -lukui-log4qt)
|
2022-10-17 19:20:36 +08:00
|
|
|
|
|
|
|
install(TARGETS uniauth-backend DESTINATION bin)
|
|
|
|
install(FILES org.ukui.UniauthBackend.conf DESTINATION /etc/dbus-1/system.d/)
|
|
|
|
install(FILES org.ukui.UniauthBackend.service DESTINATION /usr/share/dbus-1/system-services/)
|