zxing_cpp, fix includeDir path for cmake (#9922)

This commit is contained in:
Schrijvers Luc
2023-12-27 12:48:48 +01:00
committed by GitHub
parent 6583ef6900
commit f583186b05

View File

@@ -8,7 +8,7 @@ write barcodes in a number of formats."
HOMEPAGE="https://github.com/zxing-cpp/zxing-cpp"
COPYRIGHT="2016-2022 ZXing authors"
LICENSE="Apache v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/zxing-cpp/zxing-cpp/archive/refs/tags/v$portVersion.tar.gz"
CHECKSUM_SHA256="02078ae15f19f9d423a441f205b1d1bee32349ddda7467e2c84e8f08876f8635"
SOURCE_DIR="zxing-cpp-$portVersion"
@@ -81,6 +81,9 @@ INSTALL()
libZXing
fixPkgconfig
sed -i 's,\/include,/'${relativeIncludeDir}',g' \
$libDir/cmake/ZXing/ZXingTargets.cmake
packageEntries tools \
$commandBinDir