third_party_qrcodegen/CMakeLists.txt
pssea e9104a60b9 Description: upgrade qrcode from 1.6.0 to 1.7.0
IssueNo: https://gitee.com/openharmony/graphic_ui/issues/I4NPYK
Feature or Bugfix: Feature
Binary Source:No
Signed-off-by: lizhiqi <lizhiqi1@huawei.com>
2021-12-22 21:00:55 +08:00

11 lines
281 B
CMake
Executable File

cmake_minimum_required(VERSION 3.16.5)
set(QrcodegenSrc "${PROJECT_SOURCE_DIR}/third_party/qrcodegen")
include_directories(${QrcodegenSrc})
add_library(qrcodegen STATIC
${QrcodegenSrc}/cpp/qrcodegen.cpp
)
target_include_directories(qrcodegen PUBLIC ${QrcodegenSrc}/cpp)