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

Specified Boost.Python not found on Boost versions < 1.67 #360

Closed
JenusL opened this issue Nov 19, 2018 · 1 comment
Closed

Specified Boost.Python not found on Boost versions < 1.67 #360

JenusL opened this issue Nov 19, 2018 · 1 comment

Comments

@JenusL
Copy link
Contributor

JenusL commented Nov 19, 2018

Boost changed how the python files was named in Boost 1.67. This affects how we search for the Boost.Python component with find_package in CMake.

Boost < 1.67
Python 2.7 name: python
Python 3.6 name: python3

Boost >= 1.67
Python 2.7 name: python27
Python 3.6 name: python36

Current CMakeList is looking for python like this:
find_package(Boost COMPONENTS python${OPENEXR_PYTHON_MAJOR}${OPENEXR_PYTHON_MINOR})
This only works on Boost >= 1.67 and will always fall back to default with earlier boost versions.

I already have a fix for this in my branch and will create a PR.

@cary-ilm
Copy link
Member

PR is merged, so closing, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants