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) set(_build_static ON)
endif() endif()
set (_openvdb_vdbprint ON) # Flatpak build fails with link error for vdbprint with TBB 2021.5.0
if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") set (_openvdb_vdbprint OFF)
# Build fails on raspberry pi due to missing link directive to latomic # if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm")
# Let's hope it will be fixed soon. # # Build fails on raspberry pi due to missing link directive to latomic
set (_openvdb_vdbprint OFF) # # Let's hope it will be fixed soon.
endif () # set (_openvdb_vdbprint OFF)
# endif ()
prusaslicer_add_cmake_project(OpenVDB prusaslicer_add_cmake_project(OpenVDB
# 8.2 patched # 8.2 patched