openimagedenoise: Fix build failure due to TBB split

Fixes #216580.

Co-authored-by: davidak <git@davidak.de>
This commit is contained in:
Tobias Markus 2023-02-17 20:46:18 +01:00
parent 28c3001bf0
commit 8fed24cfd7
2 changed files with 10 additions and 0 deletions

View file

@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake python3 ispc ];
buildInputs = [ tbb ];
cmakeFlags = [
"-DTBB_ROOT=${tbb}"
"-DTBB_INCLUDE_DIR=${tbb.dev}/include"
];
meta = with lib; {
homepage = "https://openimagedenoise.github.io";
description = "High-Performance Denoising Library for Ray Tracing";

View file

@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake python3 ispc ];
buildInputs = [ tbb ];
cmakeFlags = [
"-DTBB_ROOT=${tbb}"
"-DTBB_INCLUDE_DIR=${tbb.dev}/include"
];
meta = with lib; {
homepage = "https://openimagedenoise.github.io";
description = "High-Performance Denoising Library for Ray Tracing";