Skip to content

Instantly share code, notes, and snippets.

@salilkapur
Created May 26, 2017 18:03
Show Gist options
  • Save salilkapur/96ac47c41b6714872a4ab6eeb1f00002 to your computer and use it in GitHub Desktop.
Save salilkapur/96ac47c41b6714872a4ab6eeb1f00002 to your computer and use it in GitHub Desktop.
Build script for OpenCV
cmake -D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=/usr/share \
-D OPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules \
-D PYTHON3_EXECUTABLE=/usr/bin/python3 \
-D ENABLE_FAST_MATH=1 \
-D CUDA_FAST_MATH=1 \
-D WITH_CUBLAS=1 \
-D BUILD_NEW_PYTHON_SUPPORT=ON \
../opencv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment