11 lines
616 B
Diff
11 lines
616 B
Diff
--- oiio-Release-1.8.12/src/python/CMakeLists.txt.orig 2018-06-18 09:35:51.669789300 +0300
|
|
+++ oiio-Release-1.8.12/src/python/CMakeLists.txt 2018-06-18 09:39:13.607201900 +0300
|
|
@@ -18,6 +18,7 @@
|
|
# 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)
|