diff options
author | Tim Biermann <tbier@posteo.de> | 2020-11-08 09:33:23 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-11-08 13:41:14 +0000 |
commit | dc22fa6c3d14c52cdf239487ce942f0407feb499 (patch) | |
tree | 7e4f66d88dd9b489a9f68605eee8b4c648bfcb51 /assimp | |
parent | 5ec23b44a5946590bb9efe0bba7c2b037585ae0f (diff) | |
download | contrib-dc22fa6c3d14c52cdf239487ce942f0407feb499.tar.gz contrib-dc22fa6c3d14c52cdf239487ce942f0407feb499.tar.xz |
assimp: updated cmake syntax
Diffstat (limited to 'assimp')
-rw-r--r-- | assimp/.signature | 4 | ||||
-rw-r--r-- | assimp/Pkgfile | 13 |
2 files changed, 10 insertions, 7 deletions
diff --git a/assimp/.signature b/assimp/.signature index 975eb1f9e..6b4bf0f67 100644 --- a/assimp/.signature +++ b/assimp/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3/SWdYIZJ+fZvy4Tr9WCA2SzuFordOqSazGEtZxTAJ3YLkn5MA8z9Wqujqwb631I/IQY1qoHt31pbXsxjR08kAY= -SHA256 (Pkgfile) = 3a6f60dd27ffbb601c4fd1d96c234856db74a6083c8c7f1da9769ca08d831fb0 +RWSagIOpLGJF35xyXaquYmMzs8WebYzCOwAv+4xpPPIshYeFwNm7ScW7nNVy6LPfNkQYIiIv35m7qicHmS6hJfFaUeBuL0G7fwI= +SHA256 (Pkgfile) = 3453f37410fceab073c9cb3693e4441858be16c7cfaf1a97d2bc031e01724d4a SHA256 (.footprint) = 006eb35ba7faf1ce46e788bb5a0bbad23c946882605be017713b918aff8d875b SHA256 (assimp-5.0.1.tar.gz) = 11310ec1f2ad2cd46b95ba88faca8f7aaa1efe9aa12605c55e3de2b977b3dbfc diff --git a/assimp/Pkgfile b/assimp/Pkgfile index 648a54cc9..1c0ddecca 100644 --- a/assimp/Pkgfile +++ b/assimp/Pkgfile @@ -9,11 +9,14 @@ release=1 source=(https://github.com/assimp/assimp/archive/v$version/$name-$version.tar.gz) build() { - [[ -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 + [[ -e /usr/bin/ninja ]] && PKGMK_ASSIMP+=' -G Ninja' + cmake -S $name-$version -B build $PKGMK_ASSIMP_OPTIONS \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \ + -D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \ + -D ASSIMP_BUILD_SAMPLES=OFF \ + -W no-dev cmake --build build DESTDIR=$PKG cmake --install build } |