First time here? Check out the FAQ!
cmake -DOPENCV_EXTRA_MODULES_PATH=<opencv_contrib>/modules <opencv_source_directory> <opencv_contrib>: