assimp: updated cmake syntax
This commit is contained in:
parent
453f49a127
commit
a4b75a980d
@ -1,5 +1,5 @@
|
|||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
RWSagIOpLGJF39webbkVoljJAWEoQ1wfIeVcmlYPz11BKLY+gaOFTOs0uq9LsZ8TAImezDZdvlH0oMxKC3kfymfENyplRt7tTwc=
|
RWSagIOpLGJF3/SWdYIZJ+fZvy4Tr9WCA2SzuFordOqSazGEtZxTAJ3YLkn5MA8z9Wqujqwb631I/IQY1qoHt31pbXsxjR08kAY=
|
||||||
SHA256 (Pkgfile) = 308d818fae4d70b4a01fa841cbf907f3a173d35a8727a4d7fdc9eb226cae1152
|
SHA256 (Pkgfile) = 3a6f60dd27ffbb601c4fd1d96c234856db74a6083c8c7f1da9769ca08d831fb0
|
||||||
SHA256 (.footprint) = 006eb35ba7faf1ce46e788bb5a0bbad23c946882605be017713b918aff8d875b
|
SHA256 (.footprint) = 006eb35ba7faf1ce46e788bb5a0bbad23c946882605be017713b918aff8d875b
|
||||||
SHA256 (assimp-5.0.1.tar.gz) = 11310ec1f2ad2cd46b95ba88faca8f7aaa1efe9aa12605c55e3de2b977b3dbfc
|
SHA256 (assimp-5.0.1.tar.gz) = 11310ec1f2ad2cd46b95ba88faca8f7aaa1efe9aa12605c55e3de2b977b3dbfc
|
||||||
|
@ -9,7 +9,8 @@ release=1
|
|||||||
source=(https://github.com/assimp/assimp/archive/v$version/$name-$version.tar.gz)
|
source=(https://github.com/assimp/assimp/archive/v$version/$name-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
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_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DASSIMP_BUILD_SAMPLES=OFF
|
-DASSIMP_BUILD_SAMPLES=OFF
|
||||||
|
Loading…
Reference in New Issue
Block a user