Commit: 271cfbc146f4a69bba967dd49054eea7bc156dd3
Author: Ray Molenkamp
Date:   Fri Aug 19 17:34:12 2022 -0600
Branches: tmp_libupdate_34
https://developer.blender.org/rB271cfbc146f4a69bba967dd49054eea7bc156dd3

deps: fix USD windows debug build

===================================================================

M       build_files/build_environment/cmake/usd.cmake

===================================================================

diff --git a/build_files/build_environment/cmake/usd.cmake 
b/build_files/build_environment/cmake/usd.cmake
index 719005332d6..60d5a392358 100644
--- a/build_files/build_environment/cmake/usd.cmake
+++ b/build_files/build_environment/cmake/usd.cmake
@@ -20,6 +20,7 @@ if(WIN32)
   )
   if(BUILD_MODE STREQUAL Debug)
     list(APPEND USD_PLATFORM_FLAGS -DPXR_USE_DEBUG_PYTHON=ON)
+    list(APPEND USD_PLATFORM_FLAGS 
-DOPENVDB_LIBRARY=${libdir}/openvdb/lib/openvdb_d.lib)
   endif()
 elseif(APPLE)
   # Workaround USD not linking correctly with static Python library, where it 
would embed
@@ -112,6 +113,7 @@ add_dependencies(
   external_boost
   external_opensubdiv
   external_python
+  openvdb
 )
 
 # Since USD 21.11 the libraries are prefixed with "usd_", i.e. "libusd_m.a" 
became "libusd_usd_m.a".

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to