openvdb: for boost-1.89

This commit is contained in:
Đoàn Trần Công Danh 2025-08-30 16:16:35 +07:00
parent 084a3803f5
commit 34b309d2e6
2 changed files with 41 additions and 1 deletions

View file

@ -0,0 +1,40 @@
--- a/openvdb/openvdb/CMakeLists.txt
+++ b/openvdb/openvdb/CMakeLists.txt
@@ -117,7 +117,7 @@ if(OPENVDB_CORE_SHARED AND NOT Boost_USE
set(Boost_USE_STATIC_LIBS OFF)
endif()
-find_package(Boost ${MINIMUM_BOOST_VERSION} REQUIRED COMPONENTS iostreams system)
+find_package(Boost ${MINIMUM_BOOST_VERSION} REQUIRED COMPONENTS iostreams)
if(OPENVDB_FUTURE_DEPRECATION AND FUTURE_MINIMUM_BOOST_VERSION)
# The X.Y.Z boost version value isn't available until CMake 3.14
set(FULL_BOOST_VERSION "${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}.${Boost_SUBMINOR_VERSION}")
@@ -251,8 +251,7 @@ endif()
# other headers.
list(APPEND OPENVDB_CORE_DEPENDENT_LIBS
- Boost::iostreams
- Boost::system)
+ Boost::iostreams)
if(WIN32)
# Boost headers contain #pragma commands on Windows which causes Boost
--- a/cmake/FindOpenVDB.cmake
+++ b/cmake/FindOpenVDB.cmake
@@ -496,7 +496,7 @@ if(NOT OPENVDB_USE_STATIC_LIBS AND NOT B
set(Boost_USE_STATIC_LIBS OFF)
endif()
-find_package(Boost REQUIRED COMPONENTS iostreams system)
+find_package(Boost REQUIRED COMPONENTS iostreams)
# Add deps for pyopenvdb
# @todo track for numpy
@@ -673,7 +673,6 @@ endif()
set(_OPENVDB_VISIBLE_DEPENDENCIES
Boost::iostreams
- Boost::system
)
if(OpenVDB_USES_IMATH_HALF)

View file

@ -1,7 +1,7 @@
# Template file for 'openvdb'
pkgname=openvdb
version=9.0.0
revision=10
revision=11
build_style=cmake
configure_args="-DOPENVDB_BUILD_VDB_VIEW=1"
hostmakedepends="pkg-config"