1 | initial version |
As the comment says: In-source builds are forbidden
You should create build directory on the same level as source directory:
git clone https://github.com/opencv/opencv
mkdir build
cd build
cmake <your-arguments> ../opencv