File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 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
4949 -D BUILD_EXAMPLES=OFF ..
5050fi
5151
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+
5264echo ' Begin build'
5365make -j4
5466
You can’t perform that action at this time.
0 commit comments