From 914404d62efacd8f3f84444c063555339ee7ef4d Mon Sep 17 00:00:00 2001 From: Olli-Pekka Heinisuo Date: Tue, 21 Jul 2020 18:47:46 +0300 Subject: [PATCH] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c13b1b4..ddb0104 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ If some dependency is not enabled in the pre-built wheels, you can also run the 1. Clone this repository: `git clone --recursive https://github.com/skvark/opencv-python.git` 2. ``cd opencv-python`` -3. Add custom Cmake flags if needed, for example: `export CMAKE_FLAGS="-DSOME_FLAG=ON -DSOME_OTHER_FLAG=OFF"` (in Windows you need to set environment variables differently depending on Command Line or PowerShell) +3. Add custom Cmake flags if needed, for example: `export CMAKE_ARGS="-DSOME_FLAG=ON -DSOME_OTHER_FLAG=OFF"` (in Windows you need to set environment variables differently depending on Command Line or PowerShell) 4. Select the version which you wish to build with `ENABLE_CONTRIB` and `ENABLE_HEADLESS`: i.e. `export ENABLE_CONTRIB=1` if you wish to build `opencv-contrib-python` 5. Run ``pip wheel . --verbose``. NOTE: make sure you have the latest ``pip``, the ``pip wheel`` command replaces the old ``python setup.py bdist_wheel`` command which does not support ``pyproject.toml``. - Optional: on Linux use the `manylinux` images as a build hosts if maximum portability is needed and run `auditwheel` for the wheel after build -- GitLab