diff --git a/build_scripts/build_usd.py b/build_scripts/build_usd.py index 8b0ddf5f81..4cb4f0bcb6 100644 --- a/build_scripts/build_usd.py +++ b/build_scripts/build_usd.py @@ -1356,8 +1356,8 @@ def InstallOpenVDB(context, force, buildArgs): # Make sure to use boost installed by the build script and not any # system installed boost - extraArgs.append('-DBoost_NO_BOOST_CMAKE=On') - extraArgs.append('-DBoost_NO_SYSTEM_PATHS=True') + extraArgs.append('-DBoost_NO_BOOST_CMAKE=OFF') + extraArgs.append('-DBoost_NO_SYSTEM_PATHS=ON') extraArgs.append('-DBLOSC_ROOT="{instDir}"' .format(instDir=context.instDir)) @@ -1410,8 +1410,8 @@ def InstallOpenImageIO(context, force, buildArgs): # Make sure to use boost installed by the build script and not any # system installed boost - extraArgs.append('-DBoost_NO_BOOST_CMAKE=On') - extraArgs.append('-DBoost_NO_SYSTEM_PATHS=True') + extraArgs.append('-DBoost_NO_BOOST_CMAKE=OFF') + extraArgs.append('-DBoost_NO_SYSTEM_PATHS=ON') # OpenImageIO 2.3.5 changed the default postfix for debug library # names from "" to "_d". USD's build system currently does not support @@ -1870,8 +1870,9 @@ def InstallUSD(context, force, buildArgs): # Make sure to use boost installed by the build script and not any # system installed boost - extraArgs.append('-DBoost_NO_BOOST_CMAKE=On') - extraArgs.append('-DBoost_NO_SYSTEM_PATHS=True') + extraArgs.append('-DBoost_NO_BOOST_CMAKE=OFF') + extraArgs.append('-DBoost_NO_SYSTEM_PATHS=ON') + extraArgs += buildArgs RunCMake(context, force, extraArgs)