qhull: fix install for secondary arch

This commit is contained in:
Gerasim Troeglazov
2022-05-24 23:32:28 +10:00
parent 8b07cea9c7
commit 3b5a1624d9

View File

@@ -7,7 +7,7 @@ approximations."
HOMEPAGE="http://www.qhull.org/"
COPYRIGHT="2009-2020 Sony Pictures Imageworks Inc."
LICENSE="BSD (3-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="$HOMEPAGE/download/qhull-2020-src-$portVersion.tgz"
CHECKSUM_SHA256="b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e"
SOURCE_DIR="qhull-2020.2"
@@ -62,6 +62,9 @@ defineDebugInfoPackage qhull$secondaryArchSuffix \
BUILD()
{
sed -i "s|set(PkgConfigLocation.*|set(PkgConfigLocation $relativeLibDir/pkgconfig)|" CMakeLists.txt
sed -i "s|set(ConfigPackageLocation.*|set(ConfigPackageLocation $relativeLibDir/cmake/Qhull)|" CMakeLists.txt
cmake -B build -S . \
$cmakeDirArgs \
-DLINK_APPS_SHARED=ON \