summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2019-08-25 14:07:19 +0200
committerbartus2019-08-25 14:07:19 +0200
commit02740e10a654f37a6674d27c73b6c53ddf0b7df5 (patch)
tree4018a2451e5828e629b7465f1840fbe11008b125
parent649a1e545cbe33794ccc9d098e2895081b5de06c (diff)
downloadaur-02740e10a654f37a6674d27c73b6c53ddf0b7df5.tar.gz
Fix dependency logic with DISABLE_CUDA=1
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0e164e8162d..100f493bc34 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,7 +18,7 @@ depends=('alembic' 'libgl' 'python' 'python-numpy' 'openjpeg' 'desktop-file-util
'openvdb' 'opencollada' 'opensubdiv' 'openshadinglanguage' 'libtiff' 'libpng')
makedepends=('git' 'cmake' 'boost' 'mesa' 'llvm')
((DISABLE_NINJA)) || makedepends+=('ninja')
-((DISABLE_CUDA)) || makedepends+=('cuda') && optdepends=('cuda: CUDA support in Cycles')
+((DISABLE_CUDA)) && optdepends=('cuda: CUDA support in Cycles') || makedepends+=('cuda')
options=(!strip)
provides=('blender-2.7')