openvdb: also build nanovdb

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
2024-04-29 22:16:29 +02:00
parent 3aaebbe743
commit cc7c7fa6d2

View File

@@ -18,7 +18,7 @@ stdenv.mkDerivation rec
buildInputs = [ boost tbb jemalloc c-blosc zlib ];
cmakeFlags = [ "-DOPENVDB_CORE_STATIC=OFF" ];
cmakeFlags = [ "-DOPENVDB_CORE_STATIC=OFF" "-DOPENVDB_BUILD_NANOVDB=ON"];
# error: aligned deallocation function of type 'void (void *, std::align_val_t) noexcept' is only available on macOS 10.13 or newer
env = lib.optionalAttrs (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "10.13" && lib.versionAtLeast tbb.version "2021.8.0") {