cmake  -D CMAKE_INSTALL_PREFIX=/usr/local \
-D BUILD_opencv_world=OFF \
-D OPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules \
  -D BUILD_opencv_python2=ON \
  -D BUILD_opencv_python3=OFF \
-D PYTHON2_EXECUTABLE=/usr/bin/python2.7 \
-D PYTHON2_INCLUDE_DIR=/usr/include/python2.7 \
-D PYTHON2_INCLUDE_DIR2=/usr/include/x86_64-linux-gnu/python2.7 \
-D PYTHON2_INCLUDE_DIRS="/usr/include/python2.7;/usr/include/x86_64-linux-gnu/python2.7" \
-D PYTHON2_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so \
-D PYTHON2_LIBRARY_DEBUG=/usr/lib/x86_64-linux-gnu/libpython2.7_d.so \
-D PYTHON2_NUMPY_INCLUDE_DIRS=/usr/lib/python2.7/dist-packages/numpy/core/include \
-D PYTHON2_PACKAGES_PATH=/usr/local/lib/python2.7/dist-packages \
 \
-D PYTHON3_EXECUTABLE=/usr/bin/python3.4 \
-D PYTHON3_INCLUDE_DIR=/usr/include/python3.4m \
-D PYTHON3_INCLUDE_DIR2=/usr/include/x86_64-linux-gnu/python3.4m \
-D PYTHON3_INCLUDE_DIRS="/usr/include/python3.4m;/usr/include/x86_64-linux-gnu/python3.4m" \
-D PYTHON3_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so \
-D PYTHON3_LIBRARY_DEBUG=/usr/lib/x86_64-linux-gnu/libpython3.4dm.so \
-D PYTHON3_NUMPY_INCLUDE_DIRS=/usr/lib/python3/dist-packages/numpy/core/include \
-D PYTHON3_PACKAGES_PATH=/usr/local/lib/python3.4/dist-packages \
 \
-D PYTHON_INCLUDE_DIR=/usr/include/python2.7 \
-D PYTHON_INCLUDE_DIR2=/usr/include/x86_64-linux-gnu/python2.7 \
-D PYTHON_INCLUDE_DIRS="/usr/include/python2.7;/usr/include/x86_64-linux-gnu/python2.7" \
 \
-D PYTHON_LIBRARIES=/usr/lib/x86_64-linux-gnu/libpython2.7.so \
-D PYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so \
-D PYTHON_LIBRARY_DEBUG=/usr/lib/x86_64-linux-gnu/libpython2.7_d.so \
-D PYTHON_LIBRARY_RELEASE=/usr/lib/x86_64-linux-gnu/libpython2.7.a \
 \
-D BUILD_DOCS=OFF \
-D BUILD_PACKAGE=OFF \
-D CMAKE_BUILD_TYPE=RelWithDebInfo \
-D ENABLE_SSE41=ON \
-D ENABLE_SSE42=ON \
-D ENABLE_SSSE3=ON \
-D BUILD_EXAMPLES=OFF \
-D INSTALL_C_EXAMPLES=OFF \
-D INSTALL_PYTHON_EXAMPLES=OFF \
-D BUILD_TESTS=OFF \
-D INSTALL_TESTS=OFF \
 \
-D WITH_TBB=ON \
-D WITH_OPENCL=OFF \
-D WITH_EIGEN=ON \
-D WITH_OPENGL=OFF \
-D WITH_GTK=OFF \
-D WITH_QT=OFF \
 \
-D BUILD_SHARED_LIBS=OFF \
-D BUILD_PERF_TESTS=OFF \
-D BUILD_opencv_java=OFF \
-D BUILD_opencv_video=ON \
-D ENABLE_SSE=OFF \
-D ENABLE_SSE2=OFF \
-D ENABLE_SSE3=OFF \
-D WITH_1394=OFF \
-D WITH_CUDA=OFF \
-D WITH_IPP=OFF \
-D BUILD_WITH_DYNAMIC_IPP=OFF \
-D WITH_OPENMP=OFF \
-D WITH_JASPER=OFF \
-D WITH_FFMPEG=OFF \
-D WITH_GSTREAMER=OFF \
-D WITH_LIBV4L=OFF \
-D WITH_V4L=OFF \
-D WITH_VTK=OFF \
-D WITH_WEBP=OFF \
-D WITH_XIMEA=OFF \
-D WITH_XINE=OFF \
 \
 ../opencv/

