Skip to content

Commit

Permalink
Build: fix OpenVDB Metal patch not applying cleanly
Browse files Browse the repository at this point in the history
  • Loading branch information
brechtvl committed Aug 16, 2023
1 parent ffe9313 commit e53e559
Show file tree
Hide file tree
Showing 2 changed files with 296 additions and 327 deletions.
2 changes: 1 addition & 1 deletion build_files/build_environment/cmake/openvdb.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ set(OPENVDB_PATCH ${PATCH_CMD} -p 1 -d ${BUILD_DIR}/openvdb/src/openvdb < ${PATC
if(APPLE)
set(OPENVDB_PATCH
${OPENVDB_PATCH} &&
${PATCH_CMD} -p 0 -d ${BUILD_DIR}/openvdb/src/openvdb < ${PATCH_DIR}/openvdb_metal.diff
${PATCH_CMD} -p 1 -d ${BUILD_DIR}/openvdb/src/openvdb < ${PATCH_DIR}/openvdb_metal.diff
)
endif()

Expand Down

0 comments on commit e53e559

Please sign in to comment.