From e691a3a9b7f3d7a57eb0a65a6fa8dde46aff523b Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Thu, 13 Aug 2020 11:42:05 -0600 Subject: 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 --- source/creator/CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'source/creator') 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}) -- cgit v1.2.3