I'm trying to build OpenCV from source using CMake. Following the official OpenCV instructions, I've changing directories to my binary directory, then I'm entering the following:
michael@GNU:~/opencv-3.1.0/release$ cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/home/michael/opencv-3.1.0
However, CMake keeps Showing me an error stating:
CMake Error: The source directory "/home/michael/opencv-3.1.0/release/CMAKE_INSTALL_PREFIX=/home/michael/opencv-3.1.0" does not exist.
What am I doing wrong? This is the documentation I'm following:
http://docs.opencv.org/3.1.0/d7/d9f/tutorial_linux_install.html#gsc.tab=0