Commit 0c22275 1 parent 2e9a115 commit 0c22275 Copy full SHA for 0c22275
File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,18 @@ if [[ $PYTHON_VERSION == 35 ]]; then
49
49
-D BUILD_EXAMPLES=OFF ..
50
50
fi
51
51
52
+ if [[ $PYTHON_VERSION == 36 ]]; then
53
+ echo ' Config for Py36'
54
+ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local \
55
+ -D BUILD_opencv_python2=OFF -D BUILD_opencv_java=OFF -D BUILD_SHARED_LIBS=OFF \
56
+ -D PYTHON3_PACKAGES_PATH=$( python -c " from distutils.sysconfig import get_python_lib; print(get_python_lib())" ) \
57
+ -D PYTHON3_LIBRARY=/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/bin \
58
+ -D PYTHON3_INCLUDE_DIR=/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m \
59
+ -D INSTALL_C_EXAMPLES=OFF -D INSTALL_PYTHON_EXAMPLES=OFF \
60
+ -D BUILD_EXAMPLES=OFF ..
61
+ fi
62
+
63
+
52
64
echo ' Begin build'
53
65
make -j4
54
66
You can’t perform that action at this time.
0 commit comments