Skip to content

Commit

Permalink
assimp: disable assimp-viewer on clangarm64
Browse files Browse the repository at this point in the history
It requires d3dx9 library which is not available for ARM64 on Windows.
  • Loading branch information
MehdiChinoune committed Dec 1, 2024
1 parent 5b7d6a8 commit bc041dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mingw-w64-assimp/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ _realname=assimp
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=5.4.3
pkgrel=2
pkgrel=3
pkgdesc="Portable Open Source library to import various well-known 3D model formats in an uniform manner (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
url="https://www.assimp.org/"
msys2_references=(
"cpe: cpe:/a:assimp:assimp"
Expand All @@ -33,7 +33,7 @@ build() {
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DASSIMP_WARNINGS_AS_ERRORS=OFF \
-DASSIMP_BUILD_ASSIMP_TOOLS=ON \
-DASSIMP_BUILD_ASSIMP_VIEW=ON \
-DASSIMP_BUILD_ASSIMP_VIEW=$([[ ${CARCH} == aarch64 ]] && echo "OFF" || echo "ON") \
-DASSIMP_BUILD_TESTS=OFF \
-DASSIMP_BUILD_ZLIB=OFF \
-DASSIMP_IGNORE_GIT_HASH=ON \
Expand Down

1 comment on commit bc041dd

@ognevny
Copy link
Collaborator

@ognevny ognevny commented on bc041dd Dec 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

Please sign in to comment.