view mupdf-source/thirdparty/zxing-cpp/wrappers/c/CMakeLists.txt @ 18:dd663470c57c

Make building an sdist work on FreeBSD and with Mercurial as SCM. Because of the inclusion of MuPDF symbolic links in tar-files must be handled also.
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 18 Sep 2025 22:02:17 +0200
parents b50eed0cc0ef
children
line wrap: on
line source

zxing_add_package_stb()

if (ZXING_READERS)
    add_executable (ZXingCTest ZXingCTest.c)
    target_link_libraries (ZXingCTest ZXing::ZXing stb::stb)
    add_test(NAME ZXingCTest COMMAND ZXingCTest ${CMAKE_SOURCE_DIR}/test/samples/qrcode-1/1.png)
endif()