summaryrefslogtreecommitdiff
path: root/assimp
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2020-11-03 17:38:18 +0000
committerTim Biermann <tbier@posteo.de>2020-11-03 17:38:18 +0000
commita4b75a980ded5baf45be9ebadd5482d9abcf7f83 (patch)
treeaeffd044df10d34e326e14a57d28fe09709ff9eb /assimp
parent453f49a127f674b5567dc077c42acfc0f86c1483 (diff)
downloadcontrib-a4b75a980ded5baf45be9ebadd5482d9abcf7f83.tar.gz
contrib-a4b75a980ded5baf45be9ebadd5482d9abcf7f83.tar.xz
assimp: updated cmake syntax
Diffstat (limited to 'assimp')
-rw-r--r--assimp/.signature4
-rw-r--r--assimp/Pkgfile3
2 files changed, 4 insertions, 3 deletions
diff --git a/assimp/.signature b/assimp/.signature
index 941ce1a04..975eb1f9e 100644
--- a/assimp/.signature
+++ b/assimp/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF39webbkVoljJAWEoQ1wfIeVcmlYPz11BKLY+gaOFTOs0uq9LsZ8TAImezDZdvlH0oMxKC3kfymfENyplRt7tTwc=
-SHA256 (Pkgfile) = 308d818fae4d70b4a01fa841cbf907f3a173d35a8727a4d7fdc9eb226cae1152
+RWSagIOpLGJF3/SWdYIZJ+fZvy4Tr9WCA2SzuFordOqSazGEtZxTAJ3YLkn5MA8z9Wqujqwb631I/IQY1qoHt31pbXsxjR08kAY=
+SHA256 (Pkgfile) = 3a6f60dd27ffbb601c4fd1d96c234856db74a6083c8c7f1da9769ca08d831fb0
SHA256 (.footprint) = 006eb35ba7faf1ce46e788bb5a0bbad23c946882605be017713b918aff8d875b
SHA256 (assimp-5.0.1.tar.gz) = 11310ec1f2ad2cd46b95ba88faca8f7aaa1efe9aa12605c55e3de2b977b3dbfc
diff --git a/assimp/Pkgfile b/assimp/Pkgfile
index c47ea1854..648a54cc9 100644
--- a/assimp/Pkgfile
+++ b/assimp/Pkgfile
@@ -9,7 +9,8 @@ release=1
source=(https://github.com/assimp/assimp/archive/v$version/$name-$version.tar.gz)
build() {
- cmake -S$name-$version -Bbuild \
+ [[ -e /usr/bin/ninja ]] && PKGMK_ASSIMP_OPTIONS=' -GNinja'
+ cmake -S$name-$version -Bbuild $PKGMK_ASSIMP_OPTIONS \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DASSIMP_BUILD_SAMPLES=OFF

Generated by cgit