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

Remove use of Boost program options #2114

Merged
merged 1 commit into from
Dec 10, 2022
Merged
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
10 changes: 1 addition & 9 deletions cmake/defaults/Packages.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ find_package(Boost REQUIRED)

# Boost provided cmake files (introduced in boost version 1.70) result in
# inconsistent build failures on different platforms, when trying to find boost
# component dependencies like python, program options, etc. Refer some related
# component dependencies like python, etc. Refer some related
# discussions:
# https://github.com/boostorg/python/issues/262#issuecomment-483069294
# https://github.com/boostorg/boost_install/issues/12#issuecomment-508683006
Expand Down Expand Up @@ -140,14 +140,6 @@ else()
endif()
endif()

# --USD tools
if(PXR_BUILD_USD_TOOLS OR PXR_BUILD_TESTS)
find_package(Boost
COMPONENTS
program_options
REQUIRED
)
endif()

# --TBB
find_package(TBB REQUIRED COMPONENTS tbb)
Expand Down