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}) target_link_libraries(uniauth-backend Qt5::Core Qt5::DBus -lukui-log4qt) install(TARGETS uniauth-backend DESTINATION bin) install(FILES org.ukui.UniauthBackend.conf DESTINATION /usr/share/dbus-1/system.d/) install(FILES org.ukui.UniauthBackend.service DESTINATION /usr/share/dbus-1/system-services/)