Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python: Fix incorrect handling of PXR_PY_UNDEFINED_DYNAMIC_LOOKUP
pxr_boost::python was bypassing this setting by specifying Python3::Python as a dependency instead of PYTHON_LIBRARIES, which the build system sets up while taking the above setting into account. PYTHON_INCLUDE_DIRS must also be specified as an include directory so that Python headers are still picked up during the build, even if we're not linking against the Python shared library. This fixes crashes when using the usd-core Python module from PyPI on MacOS. (Internal change: 2343414)
- Loading branch information