[Bf-blender-cvs] [b3ac6d13487] blender-v2.83-release: nstall_deps: USD: Add root usd library directory to build args.
Anthony Edlin
noreply at git.blender.org
Wed Apr 29 10:16:19 CEST 2020
Commit: b3ac6d13487291a82a8c0bb5b79b471eb75f9223
Author: Anthony Edlin
Date: Wed Apr 29 10:14:41 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rBb3ac6d13487291a82a8c0bb5b79b471eb75f9223
nstall_deps: USD: Add root usd library directory to build args.
Add root usd library directory to build arguments, same as other libraries.
Also fix error/typo in compile_USD regarding _is_building.
Reviewed By: mont29
Differential Revision: https://developer.blender.org/D7563
===================================================================
M build_files/build_environment/install_deps.sh
===================================================================
diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh
index e8f49c0c75c..6a247e81148 100755
--- a/build_files/build_environment/install_deps.sh
+++ b/build_files/build_environment/install_deps.sh
@@ -2654,7 +2654,7 @@ compile_USD() {
cd $CWD
INFO "Done compiling USD-$USD_VERSION!"
- _is_building=true
+ _is_building=false
else
INFO "Own USD-$USD_VERSION is up to date, nothing to do!"
INFO "If you want to force rebuild of this lib, use the --force-usd option."
@@ -5354,6 +5354,11 @@ print_info() {
_1="-D WITH_USD=ON"
PRINT " $_1"
_buildargs="$_buildargs $_1"
+ if [ -d $INST/usd ]; then
+ _1="-D USD_ROOT_DIR=$INST/usd"
+ PRINT " $_1"
+ _buildargs="$_buildargs $_1"
+ fi
fi
if [ "$NO_SYSTEM_GLEW" = true ]; then
More information about the Bf-blender-cvs
mailing list