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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2020-08-13 20:42:05 +0300
committerRay Molenkamp <github@lazydodo.com>2020-08-13 20:42:05 +0300
commite691a3a9b7f3d7a57eb0a65a6fa8dde46aff523b (patch)
tree8a7838df24df264240e16aa70a069297992634cf /source/creator
parentaabbb515d6cadd8f9ce9f1161a50fdf8c75b6dd1 (diff)
Deps_builder: Update openvdb to a dynamic library
This patch changes openvdb from a static to a dynamic library. this is in preparation for enabling pyopenvdb at some point in the future. Differential Revision: https://developer.blender.org/D8282 Reviewed by: brecht
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index 8784d9f1744..f923c834e93 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -722,6 +722,19 @@ elseif(WIN32)
endif()
endif()
+ if(WITH_OPENVDB)
+ install(
+ FILES ${LIBDIR}/openvdb/bin/openvdb.dll
+ DESTINATION "."
+ CONFIGURATIONS Release;RelWithDebInfo;MinSizeRel
+ )
+ install(
+ FILES ${LIBDIR}/openvdb/bin/openvdb_d.dll
+ DESTINATION "."
+ CONFIGURATIONS Debug
+ )
+ endif()
+
if(WITH_PYTHON)
string(REPLACE "." "" _PYTHON_VERSION_NO_DOTS ${PYTHON_VERSION})