Build OpenVDB without vdbprint

As it fails to build in flathub workers
#8922
This commit is contained in:
tamasmeszaros 2022-09-23 09:20:55 +02:00
parent ec2f533e3a
commit 1aada8fe2d

View File

@ -6,12 +6,13 @@ else()
set(_build_static ON)
endif()
set (_openvdb_vdbprint ON)
if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm")
# Build fails on raspberry pi due to missing link directive to latomic
# Let's hope it will be fixed soon.
set (_openvdb_vdbprint OFF)
endif ()
# Flatpak build fails with link error for vdbprint with TBB 2021.5.0
set (_openvdb_vdbprint OFF)
# if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm")
# # Build fails on raspberry pi due to missing link directive to latomic
# # Let's hope it will be fixed soon.
# set (_openvdb_vdbprint OFF)
# endif ()
prusaslicer_add_cmake_project(OpenVDB
# 8.2 patched