Skip to content

Commit

Permalink
Fix the boost dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
samir-adsk committed Jan 20, 2025
1 parent 241d939 commit ca9992b
Showing 1 changed file with 7 additions and 6 deletions.
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

0 comments on commit ca9992b

Please sign in to comment.