assimp: fixed build with ccache
This commit is contained in:
parent
060d929ed3
commit
322fd0f37d
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3+r3jyuKnnm0PgxxsouWoHOLkmfJW8xz5gXv52AjsuCRYYZjZ4jTAZISTS6JyNBWgv6YZCJjRwZH4Wk02iCfYws=
|
||||
SHA256 (Pkgfile) = 13c09b8b762d50fddaa5787e37dc0fd5c2aeac212755e4f0de691dcdf49935b9
|
||||
RWSagIOpLGJF37jH5Wa/svFqpeA5AOXld6nhBUppDwsPNaAEVARqejXKr+KoVDl926wTtZ8sAJL80l7rVpNGN99990pm1xztKQ0=
|
||||
SHA256 (Pkgfile) = 8e9b4d228928574342e0e15b4c507ddc330614db62fc6d2088a576466c7d9ae4
|
||||
SHA256 (.footprint) = a0a258d81795772a76d874353723872c17da3a51747ef9e3628731df8ea9f454
|
||||
SHA256 (assimp-5.4.3.tar.gz) = 66dfbaee288f2bc43172440a55d0235dfc7bf885dda6435c038e8000e79582cb
|
||||
|
@ -9,6 +9,8 @@ release=1
|
||||
source=(https://github.com/assimp/assimp/archive/v$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
which ccache && PATH="$(echo "$PATH" | awk -v RS=: -v ORS=: '$0 !~ /ccache/ {print}')"
|
||||
|
||||
cmake -S $name-$version -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
|
Loading…
x
Reference in New Issue
Block a user