OpenVDB stack compiles

This commit is contained in:
tamasmeszaros 2021-03-22 20:27:18 +01:00
parent d29cbda09c
commit f2c7c80c11
3 changed files with 3 additions and 1913 deletions

View file

@ -1,7 +1,7 @@
prusaslicer_add_cmake_project(OpenEXR prusaslicer_add_cmake_project(OpenEXR
GIT_REPOSITORY https://github.com/openexr/openexr.git GIT_REPOSITORY https://github.com/openexr/openexr.git
DEPENDS ${ZLIB_PKG} DEPENDS ${ZLIB_PKG}
GIT_TAG eae0e337c9f5117e78114fd05f7a415819df413a #v2.4.0 GIT_TAG v2.5.5
CMAKE_ARGS CMAKE_ARGS
-DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON
-DBUILD_TESTING=OFF -DBUILD_TESTING=OFF

View file

@ -7,11 +7,9 @@ else()
endif() endif()
prusaslicer_add_cmake_project(OpenVDB prusaslicer_add_cmake_project(OpenVDB
GIT_REPOSITORY https://github.com/AcademySoftwareFoundation/openvdb.git URL https://github.com/tamasmeszaros/openvdb/archive/refs/tags/v6.2-prusa3d.zip #v6.2.1 patched
GIT_TAG aebaf8d95be5e57fd33949281ec357db4a576c2e #v6.2.1 URL_HASH SHA256=3429d0b6a51298ea2bbdd189c741db0a7d6dbda2388afcce76e1031103d1dafe
DEPENDS dep_TBB dep_Blosc dep_OpenEXR dep_Boost DEPENDS dep_TBB dep_Blosc dep_OpenEXR dep_Boost
PATCH_COMMAND ${GIT_EXECUTABLE} reset --hard && ${GIT_EXECUTABLE} clean -df &&
${GIT_EXECUTABLE} apply --whitespace=nowarn ${CMAKE_CURRENT_LIST_DIR}/openvdb-mods.patch
CMAKE_ARGS CMAKE_ARGS
-DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON
-DOPENVDB_BUILD_PYTHON_MODULE=OFF -DOPENVDB_BUILD_PYTHON_MODULE=OFF

File diff suppressed because it is too large Load diff