28 lines
616 B
CMake
28 lines
616 B
CMake
qt5_wrap_cpp(BiometricAuth_SRC
|
|
biometricdeviceinfo.h
|
|
biometricproxy.h
|
|
giodbus.h
|
|
uniauthservice.h
|
|
)
|
|
|
|
set(BiometricAuth_SRC
|
|
${BiometricAuth_SRC}
|
|
biometricdeviceinfo.cpp
|
|
biometricproxy.cpp
|
|
giodbus.cpp
|
|
uniauthservice.cpp
|
|
)
|
|
|
|
include_directories(
|
|
${Qt5Core_INCLUDE_DIRS}
|
|
${Qt5Widgets_INCLUDE_DIRS}
|
|
${Qt5DBus_INCLUDE_DIRS}
|
|
${GLIB2_INCLUDE_DIRS}
|
|
${GIOUNIX2_INCLUDE_DIRS}
|
|
)
|
|
|
|
|
|
add_library(BiometricAuth STATIC ${BiometricAuth_SRC})
|
|
target_link_libraries(BiometricAuth Qt5::Core Qt5::DBus Qt5::Widgets
|
|
${GIOUNIX2_LIBRARIES})
|