You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
368 B
23 lines
368 B
3 years ago
|
add_library(qrdecoder STATIC
|
||
|
Decoder.cpp
|
||
|
)
|
||
|
target_link_libraries(qrdecoder
|
||
|
PUBLIC
|
||
|
Qt5::Gui
|
||
|
PNG::PNG
|
||
|
PRIVATE
|
||
|
quirc
|
||
|
)
|
||
|
|
||
|
if(WITH_SCANNER)
|
||
|
add_library(qrscanner
|
||
|
QrCodeScanner.cpp
|
||
|
QrScanThread.cpp
|
||
|
)
|
||
|
target_link_libraries(qrscanner
|
||
|
PUBLIC
|
||
|
Qt5::Multimedia
|
||
|
qrdecoder
|
||
|
)
|
||
|
endif()
|