Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autodesk: Fix USD Boost dependency #3485

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions build_scripts/build_usd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down