Skip to content

Commit

Permalink
python: Add some clarifying comments for change 2343414
Browse files Browse the repository at this point in the history
(Internal change: 2343419)
  • Loading branch information
sunyab authored and pixar-oss committed Oct 4, 2024
1 parent d56f1d7 commit d2bc5b6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pxr/external/boost/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,16 @@ set(cppfiles "")
# to specify the source files as well as our dependency on Python.
# Otherwise, this library is just a pass-through for boost::python.
if (PXR_USE_INTERNAL_BOOST_PYTHON)
# Use PYTHON_LIBRARIES instead of the Python3::Python target
# directly when specifying library dependencies to ensure
# PXR_PY_UNDEFINED_DYNAMIC_LOOKUP is respected.
set(libs
${PYTHON_LIBRARIES}
)

# Specify PYTHON_INCLUDE_DIRS explicitly to ensure this library
# picks up Python headers when PXR_PY_UNDEFINED_DYNAMIC_LOOKUP
# is set.
set(include_dirs
${PYTHON_INCLUDE_DIRS}
)
Expand Down

0 comments on commit d2bc5b6

Please sign in to comment.