# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/blender/blender.conf # Copyright (C) 2023 - 2024 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- if pkginstalled embree; then #var_append GCC_WRAPPER_APPEND ' ' ' -lssl -lcrypto' var_append cmakeopt ' ' '-DWITH_CYCLES_DEVICE_CUDA=OFF -DWITH_CYCLES_DEVICE_OPTIX=OFF' var_append cmakeopt ' ' '-DWITH_CYCLES_DEVICE_HIP=OFF -DWITH_CYCLES_DEVICE_ONEAPI=OFF' var_append cmakeopt ' ' '-DWITH_CYCLES=ON -DWITH_CYCLES_OSL=ON' else var_append cmakeopt ' ' '-DWITH_CYCLES_EMBREE=OFF' fi var_append cmakeopt ' ' "-DWITH_PYTHON_INSTALL=OFF" var_append cmakeopt ' ' "-DWITH_INSTALL_PORTABLE=OFF -DWITH_LIBS_PRECOMPILED=OFF" var_append cmakeopt ' ' "-DEpoxy_INCLUDE_DIR=$(pkgprefix includedir epoxy)" pkginstalled tbb || var_append cmakeopt ' ' '-DWITH_TBB=OFF' pkginstalled numpy || var_append cmakeopt ' ' '-DWITH_PYTHON_NUMPY=OFF' if pkginstalled python; then var_append cmakeopt ' ' "-DPYTHON_VERSION=$(mine -q python | cut -d' ' -f2 | cut -d'.' -f-2)" else var_append cmakeopt ' ' "-DWITH_PYTHON=OFF" fi