1cmake_minimum_required(VERSION 3.16.5)
2set(QrcodegenSrc "${PROJECT_SOURCE_DIR}/third_party/qrcodegen")
3
4include_directories(${QrcodegenSrc})
5
6add_library(qrcodegen STATIC
7 ${QrcodegenSrc}/cpp/qrcodegen.cpp
8 )
9
10target_include_directories(qrcodegen PUBLIC ${QrcodegenSrc}/cpp)
11