1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-20 09:45:12 +03:00
aports/testing/openimageio/boost-python.patch
2018-08-13 17:36:36 +00:00

12 lines
622 B
Diff

diff --git a/src/python/CMakeLists.txt b/src/python/CMakeLists.txt
index e58d372..649e9f3 100644
--- a/src/python/CMakeLists.txt
+++ b/src/python/CMakeLists.txt
@@ -18,6 +18,7 @@ if (NOT BOOST_CUSTOM)
# different names on different systems. Try the most common ones.
foreach (_py_lib python-${PYTHON_VERSION_FOUND} python
python${PYTHON_VERSION_MAJOR}
+ python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}
python-py${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR})
find_package (Boost QUIET COMPONENTS ${_py_lib})
string (TOUPPER ${_py_lib} _py_lib_name)