Add OpenVDB (and sub libraries) the new way

This commit is contained in:
tamasmeszaros 2021-03-22 13:36:42 +01:00
parent f4733e69fc
commit 8753c63e72
10 changed files with 270 additions and 190 deletions

15
deps/OpenEXR/OpenEXR.cmake vendored Normal file
View file

@ -0,0 +1,15 @@
prusaslicer_add_cmake_project(OpenEXR
GIT_REPOSITORY https://github.com/openexr/openexr.git
DEPENDS ${ZLIB_PKG}
GIT_TAG eae0e337c9f5117e78114fd05f7a415819df413a #v2.4.0
CMAKE_ARGS
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
-DBUILD_TESTING=OFF
-DPYILMBASE_ENABLE:BOOL=OFF
-DOPENEXR_VIEWERS_ENABLE:BOOL=OFF
-DOPENEXR_BUILD_UTILS:BOOL=OFF
)
if (MSVC)
add_debug_dep(dep_OpenEXR)
endif ()