Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2022-04-19 17:59:12 +0300
committertamasmeszaros <meszaros.q@gmail.com>2022-04-19 17:59:12 +0300
commitb030e33845d90301d1194de3cd809c8e153a0d29 (patch)
tree1ba83db0e41066d5cc369868242e8a49b99aca31 /deps
parent516f459edc192905a5ed7b1d0458b3116e0b8a64 (diff)
Temporary fix for openvdb build on rpi
Diffstat (limited to 'deps')
-rw-r--r--deps/OpenVDB/OpenVDB.cmake9
1 files changed, 8 insertions, 1 deletions
diff --git a/deps/OpenVDB/OpenVDB.cmake b/deps/OpenVDB/OpenVDB.cmake
index d83cb5b07..f581f6f34 100644
--- a/deps/OpenVDB/OpenVDB.cmake
+++ b/deps/OpenVDB/OpenVDB.cmake
@@ -6,6 +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 ()
+
prusaslicer_add_cmake_project(OpenVDB
# 8.2 patched
URL https://github.com/tamasmeszaros/openvdb/archive/a68fd58d0e2b85f01adeb8b13d7555183ab10aa5.zip
@@ -19,7 +26,7 @@ prusaslicer_add_cmake_project(OpenVDB
-DOPENVDB_CORE_STATIC=${_build_static}
-DOPENVDB_ENABLE_RPATH:BOOL=OFF
-DTBB_STATIC=${_build_static}
- -DOPENVDB_BUILD_VDB_PRINT=ON
+ -DOPENVDB_BUILD_VDB_PRINT=${_openvdb_vdbprint}
-DDISABLE_DEPENDENCY_VERSION_CHECKS=ON # Centos6 has old zlib
)