2022-06-02 16:31:24 +08:00
|
|
|
qt5_wrap_cpp(BiometricAuth_SRC
|
|
|
|
biometricdeviceinfo.h
|
2024-01-15 16:03:34 +08:00
|
|
|
biometricproxy.h
|
2022-06-02 16:31:24 +08:00
|
|
|
giodbus.h
|
2024-01-15 16:03:34 +08:00
|
|
|
uniauthservice.h
|
2022-06-02 16:31:24 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
set(BiometricAuth_SRC
|
|
|
|
${BiometricAuth_SRC}
|
|
|
|
biometricdeviceinfo.cpp
|
2024-01-15 16:03:34 +08:00
|
|
|
biometricproxy.cpp
|
2022-06-02 16:31:24 +08:00
|
|
|
giodbus.cpp
|
2024-01-15 16:03:34 +08:00
|
|
|
uniauthservice.cpp
|
2022-06-02 16:31:24 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${Qt5Core_INCLUDE_DIRS}
|
|
|
|
${Qt5Widgets_INCLUDE_DIRS}
|
2024-01-15 16:03:34 +08:00
|
|
|
${Qt5DBus_INCLUDE_DIRS}
|
2022-06-02 16:31:24 +08:00
|
|
|
${GLIB2_INCLUDE_DIRS}
|
2024-01-15 16:03:34 +08:00
|
|
|
${GIOUNIX2_INCLUDE_DIRS}
|
2022-06-02 16:31:24 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
add_library(BiometricAuth STATIC ${BiometricAuth_SRC})
|
2024-01-15 16:03:34 +08:00
|
|
|
target_link_libraries(BiometricAuth Qt5::Core Qt5::DBus Qt5::Widgets
|
|
|
|
${GIOUNIX2_LIBRARIES})
|