ukui-biometric-auth/uniauth-backend/CMakeLists.txt

27 lines
669 B
CMake
Raw Normal View History

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})
target_link_libraries(uniauth-backend Qt5::Core Qt5::DBus)
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/)